mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix workspace cleaning up visible popups
On :cleanup or doom/cleanup-session
This commit is contained in:
@ -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)))
|
||||
|
||||
|
Reference in New Issue
Block a user