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:
parent
e1d5e48d46
commit
cf7b27f4eb
4 changed files with 66 additions and 45 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue