From: Stefan Kangas Date: Thu, 7 Jul 2022 11:43:53 +0000 (+0200) Subject: Make browse-url-default-browser fall back to EWW X-Git-Tag: emacs-29.0.90~1447^2~1062 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96bf08a0ec550ae5f0ef263341520985412997c3;p=emacs.git Make browse-url-default-browser fall back to EWW * lisp/net/browse-url.el (browse-url-default-browser): Fall back to EWW. --- diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 355f9c12c00..c5055ac4a52 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -1031,12 +1031,11 @@ instead of `browse-url-new-window-flag'." ((executable-find browse-url-chrome-program) 'browse-url-chrome) ((executable-find browse-url-webpositive-program) 'browse-url-webpositive) ((executable-find browse-url-xterm-program) 'browse-url-text-xterm) - (t - (lambda (&rest _ignore) (error "No usable browser found")))) + (t #'eww-browse-url)) url args)) (function-put 'browse-url-default-browser 'browse-url-browser-kind - ;; Well, most probably external if we ignore w3. + ;; Well, most probably external if we ignore EWW. 'external) (defun browse-url-can-use-xdg-open ()