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
|
@ -114,7 +114,8 @@ only close popups that have an :autoclose property in their rule (see
|
|||
;;;###autoload
|
||||
(defun doom/popup ()
|
||||
"Display currently selected buffer in a popup window."
|
||||
(doom-popup-buffer (current-buffer) :align t))
|
||||
(interactive)
|
||||
(doom-popup-buffer (current-buffer) :align t :autokill t))
|
||||
|
||||
(defun doom--popup-data (window)
|
||||
(let ((buffer (window-buffer window)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue