]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/xwidget.el (xwidget-webkit-browse-url): Mark as internal browser.
authorPo Lu <luangruo@yahoo.com>
Thu, 14 Jul 2022 11:50:39 +0000 (19:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 14 Jul 2022 11:51:27 +0000 (19:51 +0800)
lisp/xwidget.el

index 88bc8ff6c5e4873b8936e1d4ce31af5a4937d7c2..0821760d995965632393c6032bb574ed01ee8caf 100644 (file)
@@ -134,6 +134,8 @@ Interactively, URL defaults to the string looking like a url around point."
         (xwidget-webkit-new-session url)
       (xwidget-webkit-goto-url url))))
 
+(function-put 'xwidget-webkit-browse-url 'browse-url-browser-kind 'internal)
+
 (defun xwidget-webkit-clone-and-split-below ()
   "Clone current URL into a new widget place in new window below.
 Get the URL of current session, then browse to the URL