mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(popup-dialog-box): x-popup-dialog returns the value, not the cons cell.
This commit is contained in:
parent
a99ebfdcd6
commit
8993dbcd7f
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user