kmacro-x

a fork of vifon's kmacro-x
git clone https://git.trogloxene.org/kmacro-x.git
Log | Files | Refs | README | LICENSE

commit 6250d4d6e49b8708ac640e3d9b5ab4c072993067
parent 5adc2cc9ee0da1be62afb10b2cec13423d882f8b
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date:   Wed, 14 May 2025 14:46:27 +0200

Rename an internal variable for consistency

Diffstat:
Mkmacro-x-mc.el | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el @@ -404,7 +404,7 @@ user directory. ;; counter to restore them later. When `last-kbd-macro' is ;; nil, `kmacro-ring' isn't modified, no extra handling ;; is needed. - (setq-local kmacro-x-mc-stored-macro (kmacro-ring-head)) + (setq-local kmacro-x-mc-stored-last-macro (kmacro-ring-head)) (setq last-kbd-macro nil)) (start-kbd-macro nil)) @@ -418,10 +418,10 @@ user directory. (kill-local-variable 'kmacro-x-mc-main-cursor) (kill-local-variable 'kmacro-x-mc-cursors) - (when (bound-and-true-p kmacro-x-mc-stored-macro) + (when (bound-and-true-p kmacro-x-mc-stored-last-macro) ;; Restore the previous value of `last-kbd-macro' and its counter. - (kmacro-split-ring-element kmacro-x-mc-stored-macro) - (kill-local-variable 'kmacro-x-mc-stored-macro)))) + (kmacro-split-ring-element kmacro-x-mc-stored-last-macro) + (kill-local-variable 'kmacro-x-mc-stored-last-macro)))) (defvar-local kmacro-x-mc-change-group nil)