Use new mode-icons api

This commit is contained in:
Tom Willemse 2013-06-05 01:40:29 +02:00
parent f41af450ab
commit 57cd16666b

View file

@ -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)