Function: browse-url-xdg-open
browse-url-xdg-open is an autoloaded, interactive and byte-compiled
function defined in browse-url.el.gz.
Signature
(browse-url-xdg-open URL &optional IGNORED)
Documentation
Pass the specified URL to the "xdg-open" command.
xdg-open is a desktop utility that calls your preferred web browser. The optional argument IGNORED is not used.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;###autoload
(defun browse-url-xdg-open (url &optional _ignored)
"Pass the specified URL to the \"xdg-open\" command.
xdg-open is a desktop utility that calls your preferred web browser.
The optional argument IGNORED is not used."
(interactive (browse-url-interactive-arg "URL: "))
(call-process "xdg-open" nil 0 nil url))