mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08: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
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue