From: Tim Vaughan Date: Fri, 21 Jun 2019 18:03:17 +0000 (+0200) Subject: URL copying now uses gophers:// for TLS addresses. X-Git-Tag: v1.4.1 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=62d7db8d11e53ec95620929aac65637968930d11 URL copying now uses gophers:// for TLS addresses. --- diff --git a/elpher.el b/elpher.el index d4eba02..7cceacb 100644 --- a/elpher.el +++ b/elpher.el @@ -4,7 +4,7 @@ ;; Author: Tim Vaughan ;; Created: 11 April 2019 -;; Version: 1.4.0 +;; Version: 1.4.1 ;; Keywords: comm gopher ;; Homepage: https://github.com/tgvaughan/elpher ;; Package-Requires: ((emacs "25")) @@ -55,7 +55,7 @@ ;;; Global constants ;; -(defconst elpher-version "1.4.0" +(defconst elpher-version "1.4.1" "Current version of elpher.") (defconst elpher-margin-width 6 @@ -1073,7 +1073,9 @@ host, selector and port." (if (and (equal type ?h) (string-prefix-p "URL:" selector)) (elt (split-string selector "URL:") 1) - (concat "gopher://" + (concat "gopher" + (if (elpher-address-use-tls-p address) "s" "") + "://" host (if (equal port 70) ""