emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/meow 1f8fccab8c: meow--execute-kbd-macro: set the executed


From: ELPA Syncer
Subject: [nongnu] elpa/meow 1f8fccab8c: meow--execute-kbd-macro: set the executed command as this-command (#684)
Date: Mon, 2 Dec 2024 07:00:24 -0500 (EST)

branch: elpa/meow
commit 1f8fccab8c1f7533fdbd0cc11c8a6e9f887b9811
Author: jixiuf <jixiuf@qq.com>
Commit: GitHub <noreply@github.com>

    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 d3ce675b59..212ed6c1d7 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))



reply via email to

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