You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Emacs 24.3.1 with the included package.el. In this case, your instructions don't work:
To load it automatically on Emacs startup add this to your init file: (load-theme 'zenburn t)
This is because with the included package.el, by default packages are loaded after the init file, so the zenburn symbol won't be available. (see "The reason automatic package loading..." in the manual).
There are ways around that, of course, but the simplest way is to add your calls to the after-init-hook list, so replace the above instruction with: (add-hook 'after-init-hook (lambda () (load-theme 'zenburn t)))
This does have the negative effect that the theme is loaded later in the init process, and so your window will show default theming for a few secs while it loads, but the ways around that are probably out of scope of your short intro :)
The text was updated successfully, but these errors were encountered:
I'm running Emacs 24.3.1 with the included package.el. In this case, your instructions don't work:
This is because with the included package.el, by default packages are loaded after the init file, so the
zenburn
symbol won't be available. (see "The reason automatic package loading..." in the manual).There are ways around that, of course, but the simplest way is to add your calls to the
after-init-hook
list, so replace the above instruction with:(add-hook 'after-init-hook (lambda () (load-theme 'zenburn t)))
This does have the negative effect that the theme is loaded later in the init process, and so your window will show default theming for a few secs while it loads, but the ways around that are probably out of scope of your short intro :)
The text was updated successfully, but these errors were encountered: