From 58919c64516a1f51bc5828647c978960f5ab7612 Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 19 Jul 2021 19:15:41 +0200 Subject: [PATCH] Misplaced url-unhex was causing trouble. --- elpher.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elpher.el b/elpher.el index 327dd95..e5a9d09 100644 --- a/elpher.el +++ b/elpher.el @@ -269,8 +269,6 @@ some servers which do not support IPv6 can take a long time to time-out." (let ((url (url-generic-parse-url url-string))) (unless (and (not (url-fullness url)) (url-type url)) (setf (url-fullness url) t) - (setf (url-filename url) - (url-unhex-string (url-filename url))) (unless (url-type url) (setf (url-type url) "gopher")) (when (or (equal "gopher" (url-type url)) @@ -368,7 +366,7 @@ address refers to, via the table `elpher-type-map'." For gopher addresses this is a combination of the selector type and selector." (if (symbolp address) nil - (url-filename address))) + (url-unhex (url-filename address)))) (defun elpher-address-host (address) "Retrieve host from ADDRESS object." -- 2.20.1