From dc3c44e123b0a0bdd81c573f0427d5eac1fefeb3 Mon Sep 17 00:00:00 2001 From: Matthew Boston Date: Thu, 1 Mar 2012 11:11:04 -0500 Subject: [PATCH] add the solarized theme directory to custom-theme-load-path via autoload --- solarized-definitions.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/solarized-definitions.el b/solarized-definitions.el index 40c10ff..74dd02f 100644 --- a/solarized-definitions.el +++ b/solarized-definitions.el @@ -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)