From 57cd16666b074ffd671dac6510734ecba6638817 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 5 Jun 2013 01:40:29 +0200 Subject: [PATCH] Use new mode-icons api --- emacs/init.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs/init.org b/emacs/init.org index a307e56..d667d4e 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -1565,6 +1565,12 @@ (add-to-list 'auto-mode-alist '(".install$" . sh-mode)) #+END_SRC +* Enable mode-icons + + #+BEGIN_SRC emacs-lisp + (oni:eval-after-init (mode-icons-mode)) + #+END_SRC + * Enable desktop-registry The =desktop-regsitry= package is one I wrote to ease switching @@ -1618,7 +1624,6 @@ (setq yas-fallback-behavior nil) (setq yas-prompt-functions '(yas-ido-prompt)) - (add-hook 'after-change-major-mode-hook 'set-current-mode-icon) (add-hook 'after-save-hook 'oni:after-save-func t) (add-hook 'before-save-hook 'oni:before-save-func) (add-hook 'c-mode-hook 'oni:c-mode-func)