]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix formatting of long keyboard macros by 'list-keyboard-macros'.
authorEarl Hyatt <okamsn@protonmail.com>
Sun, 13 Oct 2024 17:44:18 +0000 (13:44 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 18:49:43 +0000 (20:49 +0200)
* lisp/kmacro.el (kmacro-menu--refresh): Include the second
argument of 'format-kbd-macro' so that the formatted keyboard
macro is on a single line.  (Bug#73797)

(cherry picked from commit b87fda63dd4a29c3c28e235904405f2d6709239e)

lisp/kmacro.el

index d49e81da9a06c9c6cb57a6458c5207bf32b0a404..234ae5b3270c4650a36c931e8369786b2a3fe511 100644 (file)
@@ -1579,7 +1579,7 @@ To customize possible responses, change the \"bindings\" in
                                       ,(format "%d" cnt)
                                       ,fmt
                                       ,(format fmt cnt)
-                                      ,(format-kbd-macro (kmacro--keys km))])))
+                                      ,(format-kbd-macro (kmacro--keys km) 1)])))
                                (kmacro-menu--kmacros))
               kmacro-menu--deletion-flags nil
               kmacro-menu--marks nil)