branch: master commit 1fc71ba8ad27cf044ae8c3dd12dd6e4e2087bf31 Author: Michael Albinus <michael.albi...@gmx.de> Commit: Michael Albinus <michael.albi...@gmx.de>
* packages/tramp-theme/tramp-theme.el: Add autoload cookie. --- packages/tramp-theme/tramp-theme.el | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/packages/tramp-theme/tramp-theme.el b/packages/tramp-theme/tramp-theme.el index 4b58e4a..6da29a2 100644 --- a/packages/tramp-theme/tramp-theme.el +++ b/packages/tramp-theme/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: