]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/eww.el (eww-browse-url): Add 'browser-kind' property.
authorStefan Kangas <stefan@marxist.se>
Thu, 7 Jul 2022 12:43:46 +0000 (14:43 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 7 Jul 2022 12:47:30 +0000 (14:47 +0200)
lisp/net/eww.el

index 1671e062b25d094cc8caec6152b3f4c6b2573795..995a7551350ec942c15a27278d779c788959a20b 100644 (file)
@@ -1207,6 +1207,8 @@ instead of `browse-url-new-window-flag'."
   (let ((url-allow-non-local-files t))
     (eww url)))
 
+(function-put 'eww-browse-url 'browse-url-browser-kind 'internal)
+
 (defun eww-back-url ()
   "Go to the previously displayed page."
   (interactive nil eww-mode)