emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 302f71e: Fix help message with help-window-select


From: Stefan Kangas
Subject: emacs-27 302f71e: Fix help message with help-window-select
Date: Tue, 1 Sep 2020 05:57:49 -0400 (EDT)

branch: emacs-27
commit 302f71e55da427529d3d0d62dd1511552aad9f7b
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Fix help message with help-window-select
    
    * lisp/help.el (help-print-return-message):
    (help-window-display-message): Recommend 'scroll-up-command' instead
    of 'scroll-up' when 'help-window-select' is non-nil.  (Bug#43122)
---
 lisp/help.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/help.el b/lisp/help.el
index 0f1991e..c276c1d 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -179,7 +179,7 @@ Do not call this in the scope of `with-help-window'."
                     (if (same-window-p (buffer-name standard-output))
                         ;; Say how to scroll this window.
                         (substitute-command-keys
-                         "\\[scroll-up] to scroll the help.")
+                          "\\[scroll-up-command] to scroll the help.")
                       ;; Say how to scroll some other window.
                       (substitute-command-keys
                        "\\[scroll-other-window] to scroll the help."))))))))
@@ -1243,7 +1243,7 @@ window."
           ".")
          ((eq scroll 'other)
           ", \\[scroll-other-window] to scroll help.")
-         (scroll ", \\[scroll-up] to scroll help."))))
+          (scroll ", \\[scroll-up-command] to scroll help."))))
     (message "%s"
      (substitute-command-keys (concat quit-part scroll-part)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]