Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I managed to choose various themes from within Aquamacs but the problem is that if at some later point I have an error in my .emacs then the theme's setting is broken. Therefore I decided to load it directly from the .emacs.

I found several options and neither works. The best I could make is to add the following:

(load-file "~/Library/elisp/themes/zenburn-theme.el")

This works fine if I evaluate it manually (C-x C-e), but it is not loaded automatically by Aquamacs when it starts.

Note, if I click Adopt Face and Frame Parameters as Default, then the situation is better, but still the zenburn theme is not loaded properly. It is only loaded OK if I manually load it as I just described.

By the way, trying to use the color-theme package like:

(require 'color-theme)
(color-theme-initialize)
(color-theme-snow)

for instance, yields a similar problem and the theme is not loaded properly.

I would like to use the zenburn theme - how should I do it with aquamacs?

share|improve this question

Move the theme to ~/Library/Preferences/Aquamacs/ or add ~/Library/elisp/ to your load-path like this:

(add-to-list 'load-path "~/Library/elisp/themes/")
share|improve this answer
    
Oh yeah, sorry for that mistake. I edited the answer. – Ammar Alammar Oct 4 '14 at 5:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .