Fix scratch buffer commands; use :fixed prop
This commit is contained in:
parent
e7a9a1a3ca
commit
ce6ef9656f
1 changed files with 4 additions and 3 deletions
|
@ -263,12 +263,12 @@ consistent throughout a selected region, depending on `indent-tab-mode'."
|
||||||
(current-buffer))))
|
(current-buffer))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/open-scratch-buffer (arg)
|
(defun doom/open-scratch-buffer ()
|
||||||
"Opens a temporary scratch buffer in a popup window. It is discarded once it
|
"Opens a temporary scratch buffer in a popup window. It is discarded once it
|
||||||
is closed. If a region is active, copy it to the scratch buffer."
|
is closed. If a region is active, copy it to the scratch buffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(doom-popup-buffer (doom--create-scratch-buffer)
|
(doom-popup-buffer (doom--create-scratch-buffer)
|
||||||
'(:size 10 :autokill t :noesc nil) t))
|
'(:size 12 :autokill t :fixed t) t))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/open-project-scratch-buffer ()
|
(defun doom/open-project-scratch-buffer ()
|
||||||
|
@ -276,4 +276,5 @@ is closed. If a region is active, copy it to the scratch buffer."
|
||||||
popup window. Scratch buffers are stored in `doom-scratch-files-dir'. If a
|
popup window. Scratch buffers are stored in `doom-scratch-files-dir'. If a
|
||||||
region is active, copy it to the scratch buffer."
|
region is active, copy it to the scratch buffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(doom-popup-buffer (doom--create-scratch-buffer t)))
|
(doom-popup-buffer (doom--create-scratch-buffer t)
|
||||||
|
'(:size 12 :autokill t :fixed t) t))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue