1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 05:22:04 -08:00
emacs/lisp/mail
Paul Eggert 26848af97f Simplify checks for xdg-open and xdg-email
browse-url's xdg-open detection was too picky on some GNU/Linux
desktops; see Bug#25778.  Simplify the code by assuming xdg-open works
if it is executable, as nowadays this is more likely to be correct than
trying to use heuristics from a few years ago.  Don't test for nohup: it
is ineffective nowadays, as xdg-open's child uses the default action for
SIGHUP even if xdg-open's invoker ignores SIGHUP.  While we're at it,
allow for Wayland here, as "emacs -nw" might be running in a non-X
Wayland terminal.
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-xdg-email):
* lisp/net/browse-url.el (browse-url-can-use-xdg-open):
Simplify to a test for DISPLAY and whether the helper program is
executable.  Allow WAYLAND_DISPLAY as an option.
2017-03-09 19:02:35 -08:00
..
binhex.el
blessmail.el
emacsbug.el Simplify checks for xdg-open and xdg-email 2017-03-09 19:02:35 -08:00
feedmail.el
flow-fill.el
footnote.el
hashcash.el
ietf-drums.el
mail-extr.el
mail-hist.el
mail-parse.el
mail-prsvr.el
mail-utils.el
mailabbrev.el
mailalias.el
mailclient.el
mailheader.el
metamail.el
mspools.el
qp.el
reporter.el
rfc822.el
rfc2045.el
rfc2047.el
rfc2231.el
rfc2368.el
rmail-spam-filter.el
rmail.el
rmailedit.el
rmailkwd.el
rmailmm.el
rmailmsc.el
rmailout.el
rmailsort.el
rmailsum.el
sendmail.el
smtpmail.el
supercite.el
uce.el
undigest.el
unrmail.el
uudecode.el
yenc.el