summaryrefslogtreecommitdiff
path: root/lisp/help-macro.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-12-13 15:51:38 +0200
committerEli Zaretskii <eliz@gnu.org>2021-12-13 15:51:38 +0200
commit6170c5036e3802914723a288ef3191b58ef4a42d (patch)
treeb485b599b980296044170ea54e747a5d851c2268 /lisp/help-macro.el
parent9bd3f78645e14fdbaf3a569df5e0a52249c4f90e (diff)
downloademacs-6170c5036e3802914723a288ef3191b58ef4a42d.tar.gz
Fix regression in help-mode prompt
* lisp/help-macro.el (make-help-screen): Restore SPC and DEL in prompt. Reported by Colin Baxter <m43cap@yandex.com>.
Diffstat (limited to 'lisp/help-macro.el')
-rw-r--r--lisp/help-macro.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 1fa9d82afd8..b3c7e2393a3 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -165,14 +165,18 @@ and then returns."
(let ((cursor-in-echo-area t)
(overriding-local-map local-map))
(setq key (read-key-sequence
- (format "Type one of the options listed%s: "
+ (format "Type one of listed options%s: "
(if (pos-visible-in-window-p
(point-max))
""
(concat ", or "
(help--key-description-fontified (kbd "<PageDown>"))
- " or "
+ "/"
(help--key-description-fontified (kbd "<PageUp>"))
+ "/"
+ (help--key-description-fontified (kbd "SPC"))
+ "/"
+ (help--key-description-fontified (kbd "DEL"))
" to scroll"))))
char (aref key 0)))