add the solarized theme directory to custom-theme-load-path via autoload

This commit is contained in:
Matthew Boston 2012-03-01 11:11:04 -05:00
parent c5918938d7
commit dc3c44e123
1 changed files with 5 additions and 0 deletions

View File

@ -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))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide 'solarized-definitions)