summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/tmm.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/tmm.el b/lisp/tmm.el
index ed5a93024c9..4215f1b5b72 100644
--- a/lisp/tmm.el
+++ b/lisp/tmm.el
@@ -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.
(choice
(if chosen-string
- (call-interactively choice)
+ (progn
+ (setq last-command-event chosen-string)
+ (call-interactively choice))
choice)))))