summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2021-02-08 20:52:01 -0800
committerBlendoit <blendoit@gmail.com>2021-02-08 20:52:01 -0800
commitf61a8f29ce9823ad89843a75acec87569a18efc9 (patch)
tree5d229ed98973782c44a3b24971f3221bca2559e7
parente5a6e5581f3a4532fe226bd89022290d7f268ebc (diff)
Web browsing.
-rw-r--r--smart-documents.org17
1 files changed, 17 insertions, 0 deletions
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~.
Copyright 2019--2024 Marius PETER