emacs-diffs
[Top][All Lists]
Advanced

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

master 39bea8b 1/2: Show correct lossage size in help-for-help


From: Stefan Kangas
Subject: master 39bea8b 1/2: Show correct lossage size in help-for-help
Date: Sun, 25 Apr 2021 05:56:59 -0400 (EDT)

branch: master
commit 39bea8b59cd140ff72b63418631c24af84df3b57
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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>.
---
 lisp/help.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/help.el b/lisp/help.el
index 4dcb235..8234bbd 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)
 



reply via email to

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