This commit is contained in:
GitHub Merge Button 2012-03-16 08:50:40 -07:00
commit 60fe686857
3 changed files with 14 additions and 8 deletions

View File

@ -1,6 +1,8 @@
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(if (not (null (symbol-plist 'custom-theme-load-path)))
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(require 'solarized-definitions))
(load-into-load-path)

View File

@ -460,7 +460,9 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
(defun load-into-load-path ()
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name)))))
(if (not (null (symbol-plist 'custom-theme-load-path)))
(add-to-list 'custom-theme-load-path
(file-name-as-directory
(file-name-directory load-file-name))))))
(provide 'solarized-definitions)

View File

@ -1,6 +1,8 @@
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(if (not (null (symbol-plist 'custom-theme-load-path)))
(require 'solarized-definitions
(locate-file "solarized-definitions.el" custom-theme-load-path
'("c" "")))
(require 'solarized-definitions))
(load-into-load-path)