mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
Make browse-url-default-browser fall back to EWW
* lisp/net/browse-url.el (browse-url-default-browser): Fall back to EWW.
This commit is contained in:
parent
2a8d083607
commit
96bf08a0ec
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user