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

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

[nongnu] elpa/tangotango-theme 7eedc61e07 40/62: Add autoload function f


From: ELPA Syncer
Subject: [nongnu] elpa/tangotango-theme 7eedc61e07 40/62: Add autoload function for ELPA install
Date: Thu, 6 Jan 2022 05:59:10 -0500 (EST)

branch: elpa/tangotango-theme
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 73f51a89fa..151c6645a0 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]