Use new mode-icons api
This commit is contained in:
parent
f41af450ab
commit
57cd16666b
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue