summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-05-19 10:14:02 -0500
committerCase Duckworth2021-05-19 10:14:02 -0500
commit3eeb9fb1a1a2ec814a63836ef8349d6cd71c6c5c (patch)
tree4a2efb0a8e6f722f890d2281d7176baa034b11a3
parentMerge branch 'main' of https://tildegit.org/acdw/emacs (diff)
downloademacs-3eeb9fb1a1a2ec814a63836ef8349d6cd71c6c5c.tar.gz
emacs-3eeb9fb1a1a2ec814a63836ef8349d6cd71c6c5c.zip
Change `browse-url-browser-function' to alist
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index 06caede..d20e1ac 100644 --- a/init.el +++ b/init.el
@@ -96,7 +96,8 @@
96 (global-auto-revert-mode +1)) 96 (global-auto-revert-mode +1))
97 97
98(setup browse-url 98(setup browse-url
99 (setq-default browse-url-browser-function 'eww-browse-url 99 (setq-default browse-url-browser-function ; can be alist (regex . function)
100 '(("." . eww-browse-url))
100 browse-url-secondary-browser-function 101 browse-url-secondary-browser-function
101 (if (executable-find "firefox") 102 (if (executable-find "firefox")
102 'browse-url-firefox 103 'browse-url-firefox