X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=elpher.el;h=9b573244eda2216013dccc2898069068350e3cad;hb=ce0b66df15e6fbc23506b0dcecd4a428f7d18361;hp=da4d11d845f281f49dce116666c93831296ea531;hpb=251033288819389440383a5d823ea3fb9d2f2d97;p=elpher.git diff --git a/elpher.el b/elpher.el index da4d11d..9b57324 100644 --- a/elpher.el +++ b/elpher.el @@ -1,10 +1,22 @@ ;;; elpher.el --- A friendly gopher and gemini client -*- lexical-binding:t -*- -;; Copyright (C) 2019-2020 Tim Vaughan +;; Copyright (C) 2021 Jens Östlund +;; Copyright (C) 2021 F. Jason Park +;; Copyright (C) 2021 Christopher Brannon +;; Copyright (C) 2021 Omar Polo +;; Copyright (C) 2021 Noodles! +;; Copyright (C) 2020 Étienne Deparis +;; Copyright (C) 2020 Alex Schroeder +;; Copyright (C) 2020 Simon Nicolussi +;; Copyright (C) 2020 Michel Alexandre Salim +;; Copyright (C) 2020 Koushk Roy +;; Copyright (C) 2020 Vee +;; Copyright (C) 2020 Simon South +;; Copyright (C) 2019-2020 Tim Vaughan ;; Author: Tim Vaughan ;; Created: 11 April 2019 -;; Version: 2.10.2 +;; Version: 2.11.0 ;; Keywords: comm gopher ;; Homepage: http://thelambdalab.xyz/elpher ;; Package-Requires: ((emacs "26.2")) @@ -1739,8 +1751,9 @@ If ADDRESS is already bookmarked, update the label only." (with-eval-after-load "browse-url" ;; Use elpher to open gopher, finger and gemini links - (add-to-list 'browse-url-default-handlers - '("^\\(gopher\\|finger\\|gemini\\)://" . browse-url-elpher)) + (when (boundp 'browse-url-default-handlers) + (add-to-list 'browse-url-default-handlers + '("^\\(gopher\\|finger\\|gemini\\)://" . browse-url-elpher))) ;; Register "gemini://" as a URI scheme so `browse-url' does the right thing (add-to-list 'thing-at-point-uri-schemes "gemini://"))