From db39ff0516e071aa890585c39fe411ea355e8b06 Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Wed, 11 Oct 2023 07:52:19 -0500 Subject: Add: autoload magic comment to put theme into custom themes --- halloweenie-theme.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'halloweenie-theme.el') 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 -- cgit v1.2.3