Revised Answer -- First Draft (October 8, 2014):
Step 1: Download the latest version of color-theme -- i.e., color-theme-6.6.0.zip
from: http://download.savannah.gnu.org/releases/color-theme/
Step 5: Restart Emacs and enjoy.
- Previous Solution # 1 (October 7, 2014):
Files can be loaded directly with load-file
and then they do not need to be in the load-path
:
(load-file "~/.emacs.d/empty-void.el")
(load-file "~/.emacs.d/color-theme.el")
(color-theme-initialize)
(load-theme 'empty-void t)
- Previous Solution # 2 (October 7, 2014):
Create sub-folders in the .emacs.d
directory -- e.g., lisp
and themes
so that the path look like ~/.emacs.d/lisp
and ~/.emacs.d/themes
. Then, place the *.el
files inside those new sub-directories -- e.g., color-theme.el
goes inside the ~/.emacs.d/lisp
directory and empty-void.el
goes inside the ~/.emacs.d/themes
directory. Assuming that the *.el
files contain a (provide '...)
statement at the bottom of each file, then they can be loaded using a (require '...)
statement in the .emacs
file following having added that new sub-directory to the load-path
. Themes that are within the custom-theme-load-path
can be loaded by using load-theme
-- note the t
argument that signifies without-confirmation.
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
(require 'color-theme)
(color-theme-initialize)
(load-theme 'empty-void t)