summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-03-09 19:01:19 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-03-09 19:02:35 -0800
commit26848af97f333c4699934a545eb2888b1006b326 (patch)
treec455bb6e73d9706f290e8c6b26c31fc3c12ebcef /lisp/emacs-lisp/inline.el
parent092071345f265efcd3abd6de01552ebe95ffb9a1 (diff)
downloademacs-26848af97f333c4699934a545eb2888b1006b326.tar.gz
emacs-26848af97f333c4699934a545eb2888b1006b326.tar.bz2
emacs-26848af97f333c4699934a545eb2888b1006b326.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions