mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
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:
@@ -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)))
|
||||
|
Reference in New Issue
Block a user