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>.
This commit is contained in:
Stefan Kangas 2021-04-25 11:46:00 +02:00
parent bda866009b
commit 39bea8b59c

View file

@ -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)