Fix workspace cleaning up visible popups
On :cleanup or doom/cleanup-session
This commit is contained in:
parent
64d4cf773d
commit
eebe852de4
1 changed files with 2 additions and 1 deletions
|
@ -501,7 +501,8 @@ created."
|
|||
"Kill leftover buffers that are unassociated with any perspective."
|
||||
(when persp-mode
|
||||
(cl-loop for buf in (buffer-list)
|
||||
unless (persp--buffer-in-persps buf)
|
||||
unless (or (persp--buffer-in-persps buf)
|
||||
(get-buffer-window buf))
|
||||
if (kill-buffer buf)
|
||||
sum 1)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue