Skip to content

Commit

Permalink
Make loading the color theme definitions load-path agnostic.
Browse files Browse the repository at this point in the history
  • Loading branch information
quodlibetor committed Aug 2, 2011
1 parent 26260c0 commit 99e4437
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion color-theme-solarized.el
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
;;; 2. Load this file
;;; 3. M-x color-theme-solarized-[dark|light]

(require 'solarized-definitions)
(require 'solarized-definitions
(if (file-exists-p (expand-file-name "./solarized-definitions.elc"))
(expand-file-name "./solarized-definitions.elc")
(expand-file-name "./solarized-definitions.el")))

(eval-when-compile
(require 'color-theme))
Expand Down

0 comments on commit 99e4437

Please sign in to comment.