From 3132f3193d761665debddad0d4a448864b1038a9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 24 Jan 1996 21:59:32 +0000 Subject: [PATCH] (tmm-prompt): Set last-command-event before calling the selected function. --- lisp/tmm.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))))) -- 2.11.4.GIT