From: Michael Albinus Date: Wed, 17 Feb 2016 16:01:28 +0000 (+0100) Subject: * packages/tramp-theme/tramp-theme.el: Add autoload cookie. X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/1fc71ba8ad27cf044ae8c3dd12dd6e4e2087bf31 * packages/tramp-theme/tramp-theme.el: Add autoload cookie. --- diff --git a/packages/tramp-theme/tramp-theme.el b/packages/tramp-theme/tramp-theme.el index 4b58e4a34..6da29a234 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: