feature/workspaces: redefine +workspace/kill-session-and-quit

This commit is contained in:
Henrik Lissner 2018-02-07 19:27:41 -05:00
parent 210a80a74f
commit f35a49dc7e
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -289,6 +289,13 @@ workspace to delete."
(switch-to-buffer (doom-fallback-buffer))
(doom/cleanup-session))
;;;###autoload
(defun +workspace/kill-session-and-quit ()
"Kill emacs without saving anything."
(interactive)
(let ((persp-auto-save-opt 0))
(kill-emacs)))
;;;###autoload
(defun +workspace/new (&optional name clone-p)
"Create a new workspace named NAME. If CLONE-P is non-nil, clone the current