Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix meow--keypad-try-execute #688

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions meow-keypad.el
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,10 @@ try replacing the last modifier and try again."
(let* ((key-str (meow--keypad-format-keys nil))
(cmd (meow--keypad-lookup-key (kbd key-str))))
(cond
((keymapp cmd)
(when meow-keypad-message (meow--keypad-show-message))
(meow--keypad-display-message)
nil)
((commandp cmd t)
(setq current-prefix-arg meow--prefix-arg
meow--prefix-arg nil)
Expand All @@ -430,10 +434,6 @@ try replacing the last modifier and try again."
this-command cmd)
(meow--keypad-execute cmd)
t)))
((keymapp cmd)
(when meow-keypad-message (meow--keypad-show-message))
(meow--keypad-display-message)
nil)
((equal 'control (caar meow--keypad-keys))
(setcar meow--keypad-keys (cons 'literal (cdar meow--keypad-keys)))
(meow--keypad-try-execute))
Expand Down
Loading