]> git.eshelyaron.com Git - emacs.git/commit
eww: Use browse-url-with-browser-kind in eww-browse-with-external-browser
authorDaniel Mendler <mail@daniel-mendler.de>
Sat, 7 Dec 2024 21:56:15 +0000 (22:56 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 12 Dec 2024 16:01:07 +0000 (17:01 +0100)
commit21411d74e314120330c270c71cbd19b5245d872d
tree44ad14a95a7f34ba06defaa2f4fe07964fe29fdf
parent9f8621f4050b56a1b14f58d6e53e4d09f33a9a34
eww: Use browse-url-with-browser-kind in eww-browse-with-external-browser

Guarantee that an external browser is used by EWW if
`browse-url-secondary-browser-function' is set to
`eww-browse-url'.
* lisp/net/eww.el (eww-browse-with-external-browser): Use
`browse-url-secondary-browser-function' only if it is an
external browser, otherwise fall back to
`browse-url-with-browser-kind'.
(eww-follow-link): Use `eww-browse-with-external-browser' if the
EXTERNAL prefix argument is non-nil.  Improve docstring.
* lisp/net/browse-url.el (browse-url-secondary-browser-function):
Update docstring.  (Bug#74730)

(cherry picked from commit a3610381ff65490da33cd1870dd3dfd491bff06f)
lisp/net/browse-url.el
lisp/net/eww.el