summaryrefslogtreecommitdiffstats
path: root/mode-icons.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-02 14:27:32 +0200
committerGravatar Tom Willemse2013-06-02 14:27:32 +0200
commit42522017831ece7a35ad72130036d172a0fe2343 (patch)
tree46309e9751f2c105fc3a3b013c5b7ef8f94b1cec /mode-icons.el
parent48844b47e959fcf68bd43aa75bfc545dd4a8d89b (diff)
downloadmode-icons-42522017831ece7a35ad72130036d172a0fe2343.tar.gz
mode-icons-42522017831ece7a35ad72130036d172a0fe2343.zip
Fix auto load
`mode-icons-mode' is now the main entry point for mode-icons, not `set-current-mode-icon'.
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