I'm using emacs 24.3 on Windows 8. I have installed the solarized color theme from the marmalade repository, and am able to set it using M + x load-theme
. It also sets for the current session when I use Customize, but doesn't load when I open emacs again.
I can open the customize menu and select the theme, but saving the changes does nothing, and nothing changes between that and my next session. I looked at several questions here about color themes, but most do not apply to Emacs 24, since I don't need to use color-theme
to do it.
Below is a snippet from my .emacs
file.
(custom-set-variables
'(custom-enabled-themes (quote (solarized-dark)))
'(custom-safe-themes (quote ("fc5fcb6f1f1c1bc01305694c59a1a861b008c534cae8d0e48e4d5e81ad718bc6" default)))
...
When I try to put (load-theme 'solarized-dark t)
into my .emacs
, I get the error:
error: Unable to find theme file for `solarized-dark'
I've checked the value of custom-theme-load-path
after opening emacs and it includes the directory elpa uses to store the solarized theme. As mentioned above, I can load the theme manually, but something about loading it during init is breaking.