aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/lmenu.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/lmenu.el b/lisp/emacs-lisp/lmenu.el
index 5bbccbbdab8..25305346f57 100644
--- a/lisp/emacs-lisp/lmenu.el
+++ b/lisp/emacs-lisp/lmenu.el
@@ -246,11 +246,10 @@ The syntax, more precisely:
246 converted)))) 246 converted))))
247 (setq tail (cdr tail))) 247 (setq tail (cdr tail)))
248 (setq choice (x-popup-dialog t (cons name (nreverse converted)))) 248 (setq choice (x-popup-dialog t (cons name (nreverse converted))))
249 (setq meaning (assq choice converted)) 249 (if choice
250 (if meaning 250 (if (symbolp choice)
251 (if (symbolp (cdr meaning)) 251 (call-interactively choice)
252 (call-interactively (cdr meaning)) 252 (eval choice)))))
253 (eval (cdr meaning))))))
254 253
255;; This is empty because the usual elements of the menu bar 254;; This is empty because the usual elements of the menu bar
256;; are provided by menu-bar.el instead. 255;; are provided by menu-bar.el instead.