summaryrefslogtreecommitdiffstats
path: root/mode-icons.el
diff options
context:
space:
mode:
Diffstat (limited to 'mode-icons.el')
-rw-r--r--mode-icons.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/mode-icons.el b/mode-icons.el
index 9a1403f..da85875 100644
--- a/mode-icons.el
+++ b/mode-icons.el
@@ -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