Skip to main content
Removed prior solutions that were ultimately replaced by steps 1 to 5 of the current answer.
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25

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)

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)

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.

added 7 characters in body
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25

Step 3:  Download (to the preferred location, e.g., ~/.emacs.d/color-theme-6.6.0/themes) the original source of the file that is presumably being used by the original poster of this particular thread -- i.e., color-theme-empty-void.el from ( http://www.emacswiki.org/emacs/download/color-theme-empty-void.el ). I choose to keep the same name of the file and I saved it to: ~/.emacs.d/color-theme-6.6.0/themes/color-theme-empty-void.el

Step 3:  Download (to the preferred location, e.g., ~/.emacs.d/color-theme-6.6.0) the original source of the file that is presumably being used by the original poster of this particular thread -- i.e., color-theme-empty-void.el from ( http://www.emacswiki.org/emacs/download/color-theme-empty-void.el ). I choose to keep the same name of the file and I saved it to: ~/.emacs.d/color-theme-6.6.0/themes/color-theme-empty-void.el

Step 3:  Download (to the preferred location, e.g., ~/.emacs.d/color-theme-6.6.0/themes) the original source of the file that is presumably being used by the original poster of this particular thread -- i.e., color-theme-empty-void.el from ( http://www.emacswiki.org/emacs/download/color-theme-empty-void.el ). I choose to keep the same name of the file and I saved it to: ~/.emacs.d/color-theme-6.6.0/themes/color-theme-empty-void.el

added 1176 characters in body
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25

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 2:  Extract archive to the ~/.emacs.d directory. This process will create the following two directories: ~/.emacs.d/color-theme-6.6.0 and ~/.emacs.d/color-theme-6.6.0/themes

Step 3:  Download (to the preferred location, e.g., ~/.emacs.d/color-theme-6.6.0) the original source of the file that is presumably being used by the original poster of this particular thread -- i.e., color-theme-empty-void.el from ( http://www.emacswiki.org/emacs/download/color-theme-empty-void.el ). I choose to keep the same name of the file and I saved it to: ~/.emacs.d/color-theme-6.6.0/themes/color-theme-empty-void.el

Step 4:  Add the following lines of code to the .emacs file:

(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")

(require 'color-theme)

(color-theme-initialize)

(color-theme-empty-void)

Step 5:  Restart Emacs and enjoy.


  • Previous Solution # 1 (October 7, 2014):
  • Previous Solution # 2 (October 7, 2014):
  • Solution # 1
  • Solution # 2

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 2:  Extract archive to the ~/.emacs.d directory. This process will create the following two directories: ~/.emacs.d/color-theme-6.6.0 and ~/.emacs.d/color-theme-6.6.0/themes

Step 3:  Download (to the preferred location, e.g., ~/.emacs.d/color-theme-6.6.0) the original source of the file that is presumably being used by the original poster of this particular thread -- i.e., color-theme-empty-void.el from ( http://www.emacswiki.org/emacs/download/color-theme-empty-void.el ). I choose to keep the same name of the file and I saved it to: ~/.emacs.d/color-theme-6.6.0/themes/color-theme-empty-void.el

Step 4:  Add the following lines of code to the .emacs file:

(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")

(require 'color-theme)

(color-theme-initialize)

(color-theme-empty-void)

Step 5:  Restart Emacs and enjoy.


  • Previous Solution # 1 (October 7, 2014):
  • Previous Solution # 2 (October 7, 2014):
deleted 18 characters in body
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25
Loading
deleted 18 characters in body
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25
Loading
Source Link
lawlist
  • 1.4k
  • 1
  • 8
  • 25
Loading