Whoops – the fix for #25 that I had for the Emacs 24 themes doesn't work for color theme. This fixes color theme.

This commit is contained in:
Greg Pfeil 2012-02-10 16:37:55 -07:00
parent 925459d47c
commit f476294a37
1 changed files with 5 additions and 2 deletions

View File

@ -11,8 +11,11 @@
;;; 3. M-x color-theme-solarized-[dark|light]
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(let* ((reqname (concat (file-name-directory (or load-file-name
buffer-file-name))
"solarized-definitions.el"))
(compreqname (concat reqname "c")))
(if (file-exists-p compreqname) compreqname reqname)))
(eval-when-compile
(require 'color-theme))