mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
popups: :fixed => :static, major changes to popup API
+ New command: doom/popup-kill-all + Update references to :fixed (now named :static) + Simplified doom-popup-p; moved :static filtering to doom-popup-windows. + New :autofit popup property, which resizes the popup to fit its content, if possible. + doom-popup-windows now takes one boolean argument: whether to ignore static popups or not.
This commit is contained in:
@ -268,7 +268,7 @@ consistent throughout a selected region, depending on `indent-tab-mode'."
|
||||
is closed. If a region is active, copy it to the scratch buffer."
|
||||
(interactive)
|
||||
(doom-popup-buffer (doom--create-scratch-buffer)
|
||||
'(:size 12 :autokill t :fixed t) t))
|
||||
'(:size 12 :autokill t :static t) t))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/open-project-scratch-buffer ()
|
||||
@ -277,4 +277,4 @@ popup window. Scratch buffers are stored in `doom-scratch-files-dir'. If a
|
||||
region is active, copy it to the scratch buffer."
|
||||
(interactive)
|
||||
(doom-popup-buffer (doom--create-scratch-buffer t)
|
||||
'(:size 12 :autokill t :fixed t) t))
|
||||
'(:size 12 :autokill t :static t) t))
|
||||
|
Reference in New Issue
Block a user