]> code.delx.au - gnu-emacs-elpa/commitdiff
* packages/tramp-theme/tramp-theme.el: Add autoload cookie.
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 17 Feb 2016 16:01:28 +0000 (17:01 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 17 Feb 2016 16:01:28 +0000 (17:01 +0100)
packages/tramp-theme/tramp-theme.el

index 4b58e4a343b716566aee373be90673303d59bb5e..6da29a2343bba2b63217056fe2c97963181c50c5 100644 (file)
@@ -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: