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

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

[elpa] externals/tramp-theme 0439a98 4/8: * packages/tramp-theme/tramp-t


From: Stefan Monnier
Subject: [elpa] externals/tramp-theme 0439a98 4/8: * packages/tramp-theme/tramp-theme.el: Add autoload cookie.
Date: Tue, 1 Dec 2020 17:30:58 -0500 (EST)

branch: externals/tramp-theme
commit 0439a98da0d5fda78d973c37b7559c2529d8566b
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    * packages/tramp-theme/tramp-theme.el: Add autoload cookie.
---
 tramp-theme.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tramp-theme.el b/tramp-theme.el
index 4b58e4a..6da29a2 100644
--- a/tramp-theme.el
+++ b/tramp-theme.el
@@ -151,6 +151,12 @@ Used in different hooks, in order to accelerate the 
redisplay."
       'tramp-theme-hook-function
       (delete 'tramp-theme-hook-function eshell-directory-change-hook)))))
 
+;;;###autoload
+(when load-file-name
+  (add-to-list
+   'custom-theme-load-path
+   (file-name-as-directory (file-name-directory load-file-name))))
+
 (provide-theme 'tramp)
 
 ;;; TODO:



reply via email to

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