mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix kill-this-buffer advice thinking everything is a popup
This commit is contained in:
@ -526,7 +526,7 @@ instead)."
|
||||
"Advice for `kill-this-buffer'. If there are no real buffers left, switch to
|
||||
`doom-fallback-buffer'."
|
||||
(let ((buf (current-buffer)))
|
||||
(cond ((window-at-side-p)
|
||||
(cond ((window-dedicated-p)
|
||||
(quit-window))
|
||||
((eq buf (doom-fallback-buffer))
|
||||
(bury-buffer))
|
||||
|
Reference in New Issue
Block a user