summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-04-25 11:46:00 +0200
committerStefan Kangas <stefan@marxist.se>2021-04-25 11:52:40 +0200
commit39bea8b59cd140ff72b63418631c24af84df3b57 (patch)
tree04d4c508a4cfbce79003cf33db9ad5c4335feb06 /lisp/help.el
parentbda866009b48b73053d479ffb88e7a7ffbcf7996 (diff)
downloademacs-39bea8b59cd140ff72b63418631c24af84df3b57.tar.gz
emacs-39bea8b59cd140ff72b63418631c24af84df3b57.tar.bz2
emacs-39bea8b59cd140ff72b63418631c24af84df3b57.zip
Show correct lossage size in help-for-help
* lisp/help.el (help-for-help): Show correct lossage size. Add trailing newline. Suggested by Gregory Heytings <gregory@heytings.org>.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 4dcb2353ceb..8234bbd34b6 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -273,7 +273,8 @@ Do not call this in the scope of `with-help-window'."
("help-with-tutorial" "Start the Emacs tutorial")
("view-echo-area-messages"
"Show recent messages (from echo area)")
- ("view-lossage" "Show last 300 input keystrokes (lossage)")
+ ("view-lossage" (format "Show last %d input keystrokes (lossage)"
+ (lossage-size)))
("display-local-help" "Show local help at point"))
("Miscellaneous"
("about-emacs" "About Emacs")
@@ -298,7 +299,8 @@ Do not call this in the scope of `with-help-window'."
"Describe language environment")
("describe-syntax" "Show current syntax table")
("view-hello-file"
- "Display the HELLO file illustrating various scripts")))))
+ "Display the HELLO file illustrating various scripts"))))
+ "\n")
help-map
help-for-help-buffer-name)