Function: eww-browse
eww-browse is an autoloaded, interactive and byte-compiled function
defined in eww.el.gz.
Signature
(eww-browse)
Documentation
Function to be run to parse command line URLs.
This is meant to be used for MIME handlers or command line use.
Setting the handler for "text/x-uri;" to
"emacs -f eww-browse %u" will then start up Emacs and call eww
to browse the url.
This can also be used on the command line directly:
emacs -f eww-browse https://gnu.org
will start Emacs and browse the GNU web site.
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
;;;###autoload
(defun eww-browse ()
"Function to be run to parse command line URLs.
This is meant to be used for MIME handlers or command line use.
Setting the handler for \"text/x-uri;\" to
\"emacs -f eww-browse %u\" will then start up Emacs and call eww
to browse the url.
This can also be used on the command line directly:
emacs -f eww-browse https://gnu.org
will start Emacs and browse the GNU web site."
(interactive)
(eww (pop command-line-args-left)))