diff --git a/core/core-ui.el b/core/core-ui.el index ccf600037..b980c0788 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -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))