From e558a4abe4756f98845f1b8443b8730f816bd4e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustav=20H=C3=A5llberg?= Date: Fri, 13 Mar 2009 04:50:27 +0100 Subject: [PATCH] stgit.el: Clarify documentation of stgit-capture-output MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Gustav Hållberg Signed-off-by: Karl Hasselström --- contrib/stgit.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/stgit.el b/contrib/stgit.el index de466db..c8d9368 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -65,7 +65,9 @@ Argument DIR is the repository path." buf)) (defmacro stgit-capture-output (name &rest body) - "Capture StGit output and show it in a window at the end." + "Capture StGit output and, if there was any output, show it in a window +at the end. +Returns nil if there was no output." `(let ((output-buf (get-buffer-create ,(or name "*StGit output*"))) (stgit-dir default-directory) (inhibit-read-only t)) -- 2.11.0