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))
|
||||
(+workspace-error "Could not clear session"))
|
||||
(+workspace-switch +workspaces-main t)
|
||||
(doom/kill-all-buffers)
|
||||
(switch-to-buffer (doom-fallback-buffer))
|
||||
(doom/cleanup-session))
|
||||
(doom/kill-all-buffers))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace/kill-session-and-quit ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue