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

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

[nongnu] elpa/color-theme-tangotango 7eedc61 40/58: Add autoload functio


From: ELPA Syncer
Subject: [nongnu] elpa/color-theme-tangotango 7eedc61 40/58: Add autoload function for ELPA install
Date: Thu, 21 Oct 2021 18:03:02 -0400 (EDT)

branch: elpa/color-theme-tangotango
commit 7eedc61e079682d81e718090d480744152a3da2f
Author: Julien Barnier <julien@nozav.org>
Commit: Julien Barnier <julien@nozav.org>

    Add autoload function for ELPA install
---
 tangotango-theme.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tangotango-theme.el b/tangotango-theme.el
index 73f51a8..151c664 100644
--- a/tangotango-theme.el
+++ b/tangotango-theme.el
@@ -237,6 +237,15 @@
  )
 
 
+;; Autoload for MELPA
+
+;;;###autoload
+(and load-file-name
+     (boundp 'custom-theme-load-path)
+     (add-to-list 'custom-theme-load-path
+                  (file-name-as-directory
+                   (file-name-directory load-file-name))))
+
 (provide-theme 'tangotango)
 
 ;;; tangotango-theme.el ends here



reply via email to

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