From 9280665b9d487b0169f930e2f9f201f4c5540e04 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 16 May 2022 18:25:14 -0400 Subject: browse-url: Use browse-url-handlers In Emacs 28, setting browse-url-browser-function to an alist was deprecated. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3