summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/help-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index d1e89705077..bbd1dfec131 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -358,6 +358,10 @@ restore it properly when going back."
;;;###autoload
(defun help-buffer ()
+ "Return a buffer for inserting help.
+If `help-xref-following' is non-nil, this is the current buffer.
+Otherwise, it is the buffer named *Help*. If no such buffer
+currently exists, it is created."
(buffer-name ;for with-output-to-temp-buffer
(if help-xref-following
(current-buffer)