emacs-devel
[Top][All Lists]
Advanced

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

dbus.el and use-dialog-box


From: Mario Lang
Subject: dbus.el and use-dialog-box
Date: Tue, 12 Jul 2016 21:09:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi.

It appears that `yes-or-no-p' when called from a D-Bus
method handler honors `use-dialog-box'.  In other words, when
`use-dialog-box' is non-nil, `yes-or-no-p' uses a dialog to ask the
question.
The docstring of `use-dialog-box' only refers to mouse events:

"Non-nil means mouse commands use dialog boxes to ask questions.
This applies to `y-or-n-p' and `yes-or-no-p' questions asked by commands
invoked by mouse clicks and mouse menu items."

Is this expected behaviour, or should D-Bus events be excluded
(from the check in Fyes_or_no_p?)

-- 
CYa,
  ⡍⠁⠗⠊⠕



reply via email to

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