wg: remove autosave defuns
This commit is contained in:
parent
f9f0b9a2e4
commit
0d9af7717c
1 changed files with 0 additions and 17 deletions
|
@ -183,22 +183,5 @@
|
|||
(narf:workgroup-delete))
|
||||
(evil-window-delete)))
|
||||
|
||||
(defvar narf-wg-autosave-interval 600)
|
||||
(defvar narf-wg-autosave-timer nil)
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/wg-autosave ()
|
||||
(when (and (wg-current-session t) (not (minibufferp)))
|
||||
(shut-up! (wg-save-session))))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf|wg-autosave-enable ()
|
||||
(setq narf-wg-autosave-timer (run-with-timer 0 narf-wg-autosave-interval 'narf/wg-autosave)))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf|wg-autosave-disable ()
|
||||
(cancel-timer narf-wg-autosave-timer)
|
||||
(narf/wg-autosave))
|
||||
|
||||
(provide 'defuns-workgroup)
|
||||
;;; defuns-workgroup.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue