core-popups: clone buffer if visible elsewhere
Allows us to modify the buffer in the pop up window indepdently from the rest.
This commit is contained in:
parent
29d01756ea
commit
ed6941e8ae
3 changed files with 8 additions and 4 deletions
|
@ -74,8 +74,7 @@
|
|||
|
||||
(defun +doom|buffer-mode-off ()
|
||||
"Disable `doom-buffer-mode' in popup buffers."
|
||||
(when (and doom-buffer-mode
|
||||
(not (get-buffer-window-list)))
|
||||
(when doom-buffer-mode
|
||||
(doom-buffer-mode -1)))
|
||||
(add-hook 'doom-popup-mode-hook #'+doom|buffer-mode-off)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue