Function: report-emacs-bug-can-use-xdg-email
report-emacs-bug-can-use-xdg-email is a byte-compiled function defined
in emacsbug.el.gz.
Signature
(report-emacs-bug-can-use-xdg-email)
Documentation
Return non-nil if the "xdg-email" command can be used.
xdg-email is a desktop utility that calls your preferred mail client.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/emacsbug.el.gz
(defun report-emacs-bug-can-use-xdg-email ()
"Return non-nil if the \"xdg-email\" command can be used.
xdg-email is a desktop utility that calls your preferred mail client."
(and ;; See browse-url-can-use-xdg-open.
(or (getenv "DISPLAY") (getenv "WAYLAND_DISPLAY"))
(executable-find "xdg-email")))