From d022da1d1c0904e6451bfe7be57823824ed69d08 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 6 Feb 2021 22:26:59 -0500 Subject: browse-url: Send some urls to EWW --- init.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index ca6729b..3ddb131 100644 --- a/init.el +++ b/init.el @@ -1513,7 +1513,15 @@ :init (define-key km/external-map "b" #'browse-url) :config - (setq browse-url-browser-function 'browse-url-firefox)) + (setq browse-url-browser-function + `(,(cons (rx string-start "https://" + (or "inbox.kyleam.com" + "lore.kernel.org" + "orgmode.org/list" + "public-inbox.org" + "yhetil.org")) + #'eww-browse-url) + ("." . browse-url-firefox)))) (use-package webjump :config -- cgit v1.2.3