1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(popup-dialog-box): x-popup-dialog returns the value, not the cons cell.

This commit is contained in:
Richard M. Stallman 1995-05-09 02:19:20 +00:00
parent a99ebfdcd6
commit 8993dbcd7f

View File

@ -246,11 +246,10 @@ The syntax, more precisely:
converted)))) converted))))
(setq tail (cdr tail))) (setq tail (cdr tail)))
(setq choice (x-popup-dialog t (cons name (nreverse converted)))) (setq choice (x-popup-dialog t (cons name (nreverse converted))))
(setq meaning (assq choice converted)) (if choice
(if meaning (if (symbolp choice)
(if (symbolp (cdr meaning)) (call-interactively choice)
(call-interactively (cdr meaning)) (eval choice)))))
(eval (cdr meaning))))))
;; This is empty because the usual elements of the menu bar ;; This is empty because the usual elements of the menu bar
;; are provided by menu-bar.el instead. ;; are provided by menu-bar.el instead.