wg: disable session autosave (causes problems)

This commit is contained in:
Henrik Lissner 2016-03-28 21:39:50 -04:00
parent f9e488cb0c
commit 910c15ac3e

View file

@ -55,12 +55,6 @@ automatically renamed to the project name.")
;; Create a new workgroup on switch-project
(setq projectile-switch-project-action 'narf/wg-projectile-switch-project))
;; Save the session every 20 minutes
(defvar narf-wg-autosave-interval 1200)
(narf|wg-autosave-enable)
(add-hook 'focus-out-hook 'narf|wg-autosave-disable)
(add-hook 'focus-in-hook 'narf|wg-autosave-enable)
;; Seriously, don't mess with the modeline! `wg-mode-line-display-on' isn't enough
(advice-add 'wg-change-modeline :override 'ignore)