mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
ui/doom: don't disable doom-buffer-mode in popups whose buffers are visible elsewhere
This commit is contained in:
@ -66,7 +66,9 @@
|
||||
|
||||
;; Popup buffers should always be dimmed
|
||||
(defun +doom|buffer-mode-off ()
|
||||
(when doom-buffer-mode (doom-buffer-mode -1)))
|
||||
(when (and doom-buffer-mode
|
||||
(not (get-buffer-window-list)))
|
||||
(doom-buffer-mode -1)))
|
||||
(add-hook 'doom-popup-mode-hook '+doom|buffer-mode-off)
|
||||
|
||||
(when (featurep! :feature workspaces)
|
||||
|
Reference in New Issue
Block a user