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 communityIssuing 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?
When 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
? – Tom Regner Aug 21 '15 at 5:58M-x enable-theme
does not givesolarized
as a possible completion. – Brian Fitzpatrick Aug 21 '15 at 6:01M-x load-theme
)? – Tom Regner Aug 21 '15 at 6:39