]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/tramp-theme/tramp-theme.el
packages/fsm: Bump version to 0.2.1
[gnu-emacs-elpa] / packages / tramp-theme / tramp-theme.el
index 4b58e4a343b716566aee373be90673303d59bb5e..a953c3e2ec3888429c4df17ab74c7070ff2a47e7 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:
@@ -159,8 +165,4 @@ Used in different hooks, in order to accelerate the redisplay."
 ;;   to edit the faces.  Maybe use (widget-get custom-face-edit :args)
 ;;   for this.
 
-;; Local Variables:
-;; no-byte-compile: t
-;; End:
-
 ;;; tramp-theme.el ends here