Ensure only one window after doom/kill-all-buffers
This commit is contained in:
parent
3d26befd47
commit
b9e5059e3f
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ belong to the current project."
|
|||
(when (memq (current-buffer) buffer-list)
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
(mapc #'doom-kill-buffer-and-windows buffer-list)
|
||||
(delete-other-windows)
|
||||
(when interactive
|
||||
(message "Killed %s buffers"
|
||||
(- (length buffer-list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue