summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 975be497e77..f1a617f8500 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1388,7 +1388,8 @@ Return nil if the key sequence is too long."
((keymapp definition)
(insert "Prefix Command\n"))
((byte-code-function-p definition)
- (insert "[%s]\n" (buttonize "byte-code" #'disassemble definition)))
+ (insert (format "[%s]\n"
+ (buttonize "byte-code" #'disassemble definition))))
((and (consp definition)
(memq (car definition) '(closure lambda)))
(insert (format "[%s]\n"
@@ -1929,8 +1930,8 @@ Return VALUE."
;; window to an arbitrary buffer position.
(defmacro with-help-window (buffer-or-name &rest body)
"Evaluate BODY, send output to BUFFER-OR-NAME and show in a help window.
-This construct is like `with-temp-buffer-window' but unlike that
-puts the buffer specified by BUFFER-OR-NAME in `help-mode' and
+This construct is like `with-temp-buffer-window', which see, but unlike
+that, it puts the buffer specified by BUFFER-OR-NAME in `help-mode' and
displays a message about how to delete the help window when it's no
longer needed. The help window will be selected if
`help-window-select' is non-nil.