From ac6eac91dac5d23b34aa0dbf6e47fbf8ed83bf5c Mon Sep 17 00:00:00 2001 From: jixiuf Date: Mon, 2 Dec 2024 19:26:15 +0800 Subject: [PATCH] meow--execute-kbd-macro: set the executed command as this-command (#684) meow-selection-command-fallback would benefit when the keybinding is a macro like (meow-normal-define-key '("z" . "C-c z")) (global-set-key (kbd C-c z) 'meow-pop-selection) --- meow-util.el | 1 + 1 file changed, 1 insertion(+) diff --git a/meow-util.el b/meow-util.el index d6b1270..678fda6 100644 --- a/meow-util.el +++ b/meow-util.el @@ -56,6 +56,7 @@ (when-let* ((ret (key-binding (read-kbd-macro kbd-macro)))) (cond ((commandp ret) + (setq this-command ret) (call-interactively ret)) ((and (not meow-use-keypad-when-execute-kbd) (keymapp ret))