From 9213f564dcae90f74366bd99f28640d0c62aa89b Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sat, 21 Aug 2021 21:16:27 +0200 Subject: [PATCH] Display IRI instead of URI for the info page elpher-info-page ('i') is called to show the URL to a human, so use the IRI. Useful for such pages as gemini://namu.blue/ --- elpher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elpher.el b/elpher.el index d3bed03..c57df7d 100644 --- a/elpher.el +++ b/elpher.el @@ -2282,7 +2282,7 @@ When run interactively HOST-OR-URL is read from the minibuffer." (defun elpher-info-page (page) "Display URL of PAGE in minibuffer." (let ((address (elpher-page-address page))) - (message "%s" (elpher-address-to-url address)))) + (message "%s" (elpher-address-to-iri address)))) (defun elpher-info-link () "Display information on page corresponding to link at point." -- 2.20.1