From 42522017831ece7a35ad72130036d172a0fe2343 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 2 Jun 2013 14:27:32 +0200 Subject: Fix auto load `mode-icons-mode' is now the main entry point for mode-icons, not `set-current-mode-icon'. --- mode-icons.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mode-icons.el') 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 -- cgit v1.2.3-54-g00ecf