mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(map-y-or-n-p): Call x-popup-dialog the new way.
This commit is contained in:
parent
d5b2fb1e4f
commit
6f4387dde1
@ -137,8 +137,7 @@ Returns the number of actions taken."
|
||||
;; Prompt the user about this object.
|
||||
(if mouse-event
|
||||
(setq def (or (x-popup-dialog mouse-event
|
||||
(list "gratuitous"
|
||||
(cons prompt map)))
|
||||
(cons prompt map))
|
||||
'quit))
|
||||
;; Prompt in the echo area.
|
||||
(let ((cursor-in-echo-area (not no-cursor-in-echo-area)))
|
||||
|
Loading…
Reference in New Issue
Block a user