Fix use dialog box regression on Android
* lisp/subr.el (use-dialog-box-p): Always prefer dialog boxes.
This commit is contained in:
parent
6c3369abe5
commit
843d8797db
1 changed files with 2 additions and 1 deletions
|
@ -3601,7 +3601,8 @@ confusing to some users.")
|
|||
(defun use-dialog-box-p ()
|
||||
"Return non-nil if the current command should prompt the user via a dialog box."
|
||||
(and last-input-event ; not during startup
|
||||
(or (consp last-nonmenu-event) ; invoked by a mouse event
|
||||
(or (featurep 'android) ; prefer dialog boxes on Android
|
||||
(consp last-nonmenu-event) ; invoked by a mouse event
|
||||
from--tty-menu-p) ; invoked via TTY menu
|
||||
use-dialog-box))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue