emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change to `use-dialog-box-p'


From: Po Lu
Subject: Change to `use-dialog-box-p'
Date: Sat, 20 May 2023 10:45:21 +0800

After:

2023-04-02  Eli Zaretskii  <eliz@gnu.org>

        * lisp/subr.el (use-dialog-box-p): Fix conditions for GUI dialogs.

dialog boxes will no longer be used when there is no last input event at
all, i.e. when `last-nonmenu-event' is nil.

Previously, `use-dialog-box-p' would only return nil if
`last-nonmenu-event' was a key event, which is the correct behavior;
`Fyes_or_no_p' still uses the correct test.

Why was that change made?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]