From f61a8f29ce9823ad89843a75acec87569a18efc9 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Mon, 8 Feb 2021 20:52:01 -0800 Subject: Web browsing. --- smart-documents.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/smart-documents.org b/smart-documents.org index d4ed294..e1dbc51 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -753,6 +753,23 @@ Everlasting Father, Prince of Peace. :bind (("C-f" . swiper))) #+END_SRC +*** Web browsing + +Thanks +Xah![fn::[[http://ergoemacs.org/emacs/emacs_set_default_browser.html]]] + +#+BEGIN_SRC emacs-lisp :tangle yes +;; use browser depending on url +(setq + browse-url-browser-function + '( + ("wikipedia\\.org" . browse-url-firefox) + ("github" . browse-url-chromium) + ("thefreedictionary\\.com" . eww-browse-url) + ("." . browse-url-default-browser) + )) +#+END_SRC + *** IRC Emacs ships with an IRC client called ~erc~. -- cgit v1.2.3