Revise docstrings for scratch buffer commands

This commit is contained in:
Henrik Lissner 2019-04-19 19:55:25 -04:00
parent d6839fc4c6
commit 123f7174ed
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -88,7 +88,9 @@ following:
(defun doom/open-scratch-buffer (&optional arg project-p) (defun doom/open-scratch-buffer (&optional arg project-p)
"Opens the (persistent) scratch buffer in a popup. "Opens the (persistent) scratch buffer in a popup.
If ARG, switch to it in the current window." If passed the prefix ARG, switch to it in the current window.
If PROJECT-P is non-nil, open a persistent scratch buffer associated with the
current project."
(interactive "P") (interactive "P")
(let (projectile-enable-caching) (let (projectile-enable-caching)
(funcall (funcall
@ -113,7 +115,7 @@ If ARG, switch to it in the current window."
(defun doom/open-project-scratch-buffer (&optional arg) (defun doom/open-project-scratch-buffer (&optional arg)
"Opens the (persistent) project scratch buffer in a popup. "Opens the (persistent) project scratch buffer in a popup.
If ARG, switch to it in the current window." If passed the prefix ARG, switch to it in the current window."
(interactive "P") (interactive "P")
(doom/open-scratch-buffer arg 'project)) (doom/open-scratch-buffer arg 'project))