summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pumpkin-spice-theme.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/pumpkin-spice-theme.el b/pumpkin-spice-theme.el
index d7e70ef..cd23f1a 100644
--- a/pumpkin-spice-theme.el
+++ b/pumpkin-spice-theme.el
@@ -74,6 +74,11 @@
(provide-theme 'pumpkin-spice)
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
(provide 'pumpkin-spice-theme)
;;; pumpkin-spice-theme.el ends here