Fix :killall! & +workspace/kill-session awareness of main workspace
This commit is contained in:
parent
b48524d617
commit
e25d945474
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ workspace to delete."
|
|||
(defun +workspace/kill-session ()
|
||||
"Delete the current session, clears all workspaces, windows and buffers."
|
||||
(interactive)
|
||||
(unless (cl-every '+workspace-delete (+workspace-list))
|
||||
(unless (cl-every '+workspace-delete (delete +workspaces-main (+workspace-list)))
|
||||
(+workspace-error "Could not clear session"))
|
||||
(+workspace-switch +workspaces-main t)
|
||||
(doom/kill-all-buffers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue