mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-12-26 14:38:04 +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."
|
||||
(setq mode-name (get-mode-icon mode)))
|
||||
|
||||
;;;###autoload
|
||||
(defun set-current-mode-icon ()
|
||||
"Set the icon for the current major mode."
|
||||
(set-mode-icon mode-name))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode mode-icons-mode
|
||||
"Replace the name of the current major mode with an icon."
|
||||
:global t
|
||||
|
|
Loading…
Reference in a new issue