From 62d7db8d11e53ec95620929aac65637968930d11 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Fri, 21 Jun 2019 20:03:17 +0200 Subject: [PATCH] URL copying now uses gophers:// for TLS addresses. --- elpher.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) "" -- 2.20.1