emacs-diffs
[Top][All Lists]
Advanced

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

master 2273cdb40e: * lisp/edmacro.el (edit-kbd-macro): Fix thinko (bug#6


From: Stefan Monnier
Subject: master 2273cdb40e: * lisp/edmacro.el (edit-kbd-macro): Fix thinko (bug#61333)
Date: Tue, 7 Feb 2023 18:10:37 -0500 (EST)

branch: master
commit 2273cdb40e1939f7c29a669f6a64e6a27738c1a5
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/edmacro.el (edit-kbd-macro): Fix thinko (bug#61333)
---
 lisp/edmacro.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index c0723dc8df..c995e2f89d 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -156,9 +156,9 @@ With a prefix argument, format the macro in a more concise 
way."
             (setq mac cmd)
             (setq cmd nil)))
       (when (kmacro-p mac)
-       (setq mac (kmacro--keys mac)
-             mac-counter (kmacro--counter mac)
-             mac-format (kmacro--format mac)))
+       (setq mac-counter (kmacro--counter mac)
+             mac-format (kmacro--format mac)
+              mac (kmacro--keys mac)))
       (unless (arrayp mac)
        (error "Key sequence %s is not a keyboard macro"
               (key-description keys)))



reply via email to

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