From: Stefan Kangas Date: Sun, 25 Apr 2021 09:46:00 +0000 (+0200) Subject: Show correct lossage size in help-for-help X-Git-Tag: emacs-28.0.90~2738 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39bea8b59cd140ff72b63418631c24af84df3b57;p=emacs.git 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 . --- 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)