feature/workspaces: redefine +workspace/kill-session-and-quit
This commit is contained in:
parent
210a80a74f
commit
f35a49dc7e
1 changed files with 7 additions and 0 deletions
|
@ -289,6 +289,13 @@ workspace to delete."
|
||||||
(switch-to-buffer (doom-fallback-buffer))
|
(switch-to-buffer (doom-fallback-buffer))
|
||||||
(doom/cleanup-session))
|
(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
|
;;;###autoload
|
||||||
(defun +workspace/new (&optional name clone-p)
|
(defun +workspace/new (&optional name clone-p)
|
||||||
"Create a new workspace named NAME. If CLONE-P is non-nil, clone the current
|
"Create a new workspace named NAME. If CLONE-P is non-nil, clone the current
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue