From: Stefan Kangas Date: Thu, 21 Jul 2022 07:23:27 +0000 (+0200) Subject: Minor doc fix in search-forward-help-for-help X-Git-Tag: emacs-29.0.90~1447^2~824 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f1023a2ffe7c96027c3eaf23c1cf93cd5c78dfa;p=emacs.git Minor doc fix in search-forward-help-for-help * lisp/help.el (search-forward-help-for-help): Use command substitution. --- diff --git a/lisp/help.el b/lisp/help.el index abe17fa4ce2..d9e553e4e10 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.