Fix auto load

`mode-icons-mode' is now the main entry point for mode-icons, not
`set-current-mode-icon'.
This commit is contained in:
Tom Willemse 2013-06-02 14:27:32 +02:00
parent 48844b47e9
commit 4252201783

View file

@ -82,11 +82,11 @@ ICON-SPEC should be a specification from `mode-icons'."
"Set the icon for MODE." "Set the icon for MODE."
(setq mode-name (get-mode-icon mode))) (setq mode-name (get-mode-icon mode)))
;;;###autoload
(defun set-current-mode-icon () (defun set-current-mode-icon ()
"Set the icon for the current major mode." "Set the icon for the current major mode."
(set-mode-icon mode-name)) (set-mode-icon mode-name))
;;;###autoload
(define-minor-mode mode-icons-mode (define-minor-mode mode-icons-mode
"Replace the name of the current major mode with an icon." "Replace the name of the current major mode with an icon."
:global t :global t