mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-25 11:00:29 +01:00
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:
parent
48844b47e9
commit
4252201783
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue