emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anti-zenburn-theme ac024cf 004/151: Add theme directory to


From: ELPA Syncer
Subject: [nongnu] elpa/anti-zenburn-theme ac024cf 004/151: Add theme directory to custom-theme-load-path to make it usable in
Date: Thu, 21 Oct 2021 18:01:10 -0400 (EDT)

branch: elpa/anti-zenburn-theme
commit ac024cf3326905b3ee830db7778c8c7bcc7f85ac
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>

    Add theme directory to custom-theme-load-path to make it usable in
    package.
---
 anti-zenburn-theme.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/anti-zenburn-theme.el b/anti-zenburn-theme.el
index a479d96..c8e8413 100644
--- a/anti-zenburn-theme.el
+++ b/anti-zenburn-theme.el
@@ -599,6 +599,12 @@
                   ,azenburn-violet ,azenburn-dark-blue ,azenburn-brown
                   ,azenburn-green ,azenburn-bordeaux ,azenburn-fg))))
 
+;;;###autoload
+(when load-file-name
+  (add-to-list 'custom-theme-load-path
+              (file-name-as-directory
+               (file-name-directory load-file-name))))
+
 (provide-theme 'anti-zenburn)
 
 ;;; anti-zenburn-theme.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]