From 21f3c7ef269ddb83ed116ddc52b7ace72799d629 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 7 Feb 2023 18:10:33 -0500 Subject: [PATCH] * lisp/edmacro.el (edit-kbd-macro): Fix thinko (bug#61333) Backported from commit 2273cdb40e1939f7c29a669f6a64e6a27738c1a5. --- lisp/edmacro.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/edmacro.el b/lisp/edmacro.el index c0723dc8dfe..c995e2f89d7 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))) -- 2.39.2