Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
xarthurx 2018-02-08 09:46:26 +01:00
commit 2b40b3597a
2 changed files with 9 additions and 2 deletions

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