From 221911ec7ce50468fbf6c0889321adf85cd753f5 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 28 Jun 2021 18:30:53 +0200 Subject: [PATCH] Fix thing-at-point-uri-schemes error --- elpher.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elpher.el b/elpher.el index db64f3d..449874d 100644 --- a/elpher.el +++ b/elpher.el @@ -1816,7 +1816,9 @@ If ADDRESS is already bookmarked, update the label only." ;; Use elpher to open gopher, finger and gemini links (when (boundp 'browse-url-default-handlers) (add-to-list 'browse-url-default-handlers - '("^\\(gopher\\|finger\\|gemini\\)://" . browse-url-elpher))) + '("^\\(gopher\\|finger\\|gemini\\)://" . browse-url-elpher)))) + +(with-eval-after-load "thingatpt" ;; Register "gemini://" as a URI scheme so `browse-url' does the right thing (add-to-list 'thing-at-point-uri-schemes "gemini://")) -- 2.20.1