[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5f1023a2ff 4/4: Minor doc fix in search-forward-help-for-help
From: |
Stefan Kangas |
Subject: |
master 5f1023a2ff 4/4: Minor doc fix in search-forward-help-for-help |
Date: |
Thu, 21 Jul 2022 03:23:37 -0400 (EDT) |
branch: master
commit 5f1023a2ffe7c96027c3eaf23c1cf93cd5c78dfa
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Minor doc fix in search-forward-help-for-help
* lisp/help.el (search-forward-help-for-help): Use command
substitution.
---
lisp/help.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/help.el b/lisp/help.el
index abe17fa4ce..d9e553e4e1 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -995,10 +995,11 @@ current buffer."
(defun search-forward-help-for-help ()
"Search forward in the help-for-help window.
-This command is meant to be used after issuing the `C-h C-h' command."
+This command is meant to be used after issuing the \\[help-for-help] command."
(interactive)
(unless (get-buffer help-for-help-buffer-name)
- (error "No %s buffer; use `C-h C-h' first" help-for-help-buffer-name))
+ (error (substitute-command-keys "No %s buffer; use \\[help-for-help]
first")
+ help-for-help-buffer-name))
;; Move cursor to the "help window".
(pop-to-buffer help-for-help-buffer-name)
;; Do incremental search forward.