Minor doc fix in search-forward-help-for-help
* lisp/help.el (search-forward-help-for-help): Use command substitution.
This commit is contained in:
parent
8e71e9b103
commit
5f1023a2ff
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue