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