Look up definitions file directly rather than depending on `load-path`.

Fix issue #25.
This commit is contained in:
Greg Pfeil 2012-02-10 16:26:03 -07:00
parent 3448aa89c0
commit 925459d47c
3 changed files with 9 additions and 3 deletions

View File

@ -10,7 +10,9 @@
;;; 2. Load this file
;;; 3. M-x color-theme-solarized-[dark|light]
(require 'solarized-definitions)
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(eval-when-compile
(require 'color-theme))

View File

@ -1,3 +1,5 @@
(require 'solarized-definitions)
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(create-solarized-theme dark)

View File

@ -1,3 +1,5 @@
(require 'solarized-definitions)
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(create-solarized-theme light)