From 123f7174ed61981b7be9ede1d1d26e3fca646e27 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 19 Apr 2019 19:55:25 -0400 Subject: [PATCH] Revise docstrings for scratch buffer commands --- core/autoload/scratch.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/autoload/scratch.el b/core/autoload/scratch.el index 95c731784..660ad30d0 100644 --- a/core/autoload/scratch.el +++ b/core/autoload/scratch.el @@ -88,7 +88,9 @@ following: (defun doom/open-scratch-buffer (&optional arg project-p) "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") (let (projectile-enable-caching) (funcall @@ -113,7 +115,7 @@ If ARG, switch to it in the current window." (defun doom/open-project-scratch-buffer (&optional arg) "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") (doom/open-scratch-buffer arg 'project))