feature/workspaces: reduce redundancy in +workspace/kill-session
This commit is contained in:
parent
aad653d913
commit
54c6301f45
1 changed files with 1 additions and 3 deletions
|
@ -283,9 +283,7 @@ workspace to delete."
|
||||||
(unless (cl-every #'+workspace-delete (+workspace-list-names))
|
(unless (cl-every #'+workspace-delete (+workspace-list-names))
|
||||||
(+workspace-error "Could not clear session"))
|
(+workspace-error "Could not clear session"))
|
||||||
(+workspace-switch +workspaces-main t)
|
(+workspace-switch +workspaces-main t)
|
||||||
(doom/kill-all-buffers)
|
(doom/kill-all-buffers))
|
||||||
(switch-to-buffer (doom-fallback-buffer))
|
|
||||||
(doom/cleanup-session))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +workspace/kill-session-and-quit ()
|
(defun +workspace/kill-session-and-quit ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue