Commit 3132f319 authored by Karl Heuer's avatar Karl Heuer
Browse files

(tmm-prompt): Set last-command-event before calling the

selected function.
parent 690b03fe
...@@ -214,7 +214,9 @@ Its value should be an event that has a binding in MENU." ...@@ -214,7 +214,9 @@ Its value should be an event that has a binding in MENU."
;; We just handled a menu keymap and found a command. ;; We just handled a menu keymap and found a command.
(choice (choice
(if chosen-string (if chosen-string
(call-interactively choice) (progn
(setq last-command-event chosen-string)
(call-interactively choice))
choice))))) choice)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment