From: Alex Schroeder Date: Mon, 28 Jun 2021 16:30:53 +0000 (+0200) Subject: Fix thing-at-point-uri-schemes error X-Git-Tag: v3.0.0~22^2~28 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=221911ec7ce50468fbf6c0889321adf85cd753f5;p=elpher.git Fix thing-at-point-uri-schemes error --- 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://"))