ui/doom: don't disable doom-buffer-mode in popups whose buffers are visible elsewhere
This commit is contained in:
parent
a446c58846
commit
f662f39f75
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue