Merge pull request #47 from bostonaholic/master
add to custom-theme-load-path
This commit is contained in:
commit
ca29827639
|
@ -2,4 +2,6 @@
|
|||
(locate-file "solarized-definitions.el" custom-theme-load-path
|
||||
'("c" "")))
|
||||
|
||||
(load-into-load-path)
|
||||
|
||||
(create-solarized-theme dark)
|
||||
|
|
|
@ -458,4 +458,9 @@ the \"Gen RGB\" column in solarized-definitions.el to improve them further."
|
|||
(apply 'custom-theme-set-faces ',theme-name ',theme-faces)
|
||||
(provide-theme ',theme-name))))
|
||||
|
||||
(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)))))
|
||||
|
||||
(provide 'solarized-definitions)
|
||||
|
|
|
@ -2,4 +2,6 @@
|
|||
(locate-file "solarized-definitions.el" custom-theme-load-path
|
||||
'("c" "")))
|
||||
|
||||
(load-into-load-path)
|
||||
|
||||
(create-solarized-theme light)
|
||||
|
|
Loading…
Reference in New Issue