summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-05-16 18:25:14 -0400
committerKyle Meyer <kyle@kyleam.com>2022-07-20 21:07:34 -0400
commit9280665b9d487b0169f930e2f9f201f4c5540e04 (patch)
tree1291277d78d386c74c5eec35fc93de6d2d2c212b
parent62ef23e114e338b4d0e3283f6b754b7dea8cb109 (diff)
downloademacs.d-9280665b9d487b0169f930e2f9f201f4c5540e04.tar.gz
browse-url: Use browse-url-handlers
In Emacs 28, setting browse-url-browser-function to an alist was deprecated.
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index e3a6c45..de7e6a6 100644
--- a/init.el
+++ b/init.el
@@ -1516,7 +1516,7 @@
:init
(define-key km/external-map "b" #'browse-url)
:config
- (setq browse-url-browser-function
+ (setq browse-url-handlers
`(,(cons (rx string-start "https://"
(or "inbox.kyleam.com"
"lore.kernel.org"