Issuing M-x load-theme
gives me the option solarized
. However, issuing solarized
gives the message Undefined Custom theme solarized
.
Any ideas why I'm getting this error?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityWhen you write a theme, you need to make sure everything is named correctly:
-theme
deftheme
, provide-theme
, and custom-theme-set-faces
must not have the theme postfix -theme
I'm not sure if all of those are really needed, but I always do like this so I don't have this undefined error.
Oh, and don't forget to add your theme dir to the custom-theme-load-path
list
M-x enable-theme
?M-x enable-theme
does not givesolarized
as a possible completion.M-x load-theme
)?