General code cleanup

This commit is contained in:
Henrik Lissner 2016-03-23 11:51:29 -04:00
parent d655fc853f
commit 41e4cc919e
4 changed files with 11 additions and 11 deletions

View file

@ -61,10 +61,10 @@ automatically renamed to the project name.")
(add-hook 'focus-out-hook 'narf|wg-autosave-disable)
(add-hook 'focus-in-hook 'narf|wg-autosave-enable)
;; Don't mess with the modeline!
;; Seriously, don't mess with the modeline! `wg-mode-line-display-on' isn't enough
(advice-add 'wg-change-modeline :override 'ignore)
;; Don't remember popup windows
;; Don't remember popup and neotree windows
(add-hook! kill-emacs
(narf/popup-close-all)
(when (and (featurep 'neotree) (neo-global--window-exists-p))