From: Alex Schroeder Date: Sat, 21 Aug 2021 19:16:27 +0000 (+0200) Subject: Display IRI instead of URI for the info page X-Git-Tag: v3.3.0~9 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=9213f564dcae90f74366bd99f28640d0c62aa89b;hp=a3e7e8c83380707b0aacb7f048eb9b3a99526a16 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/ --- 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."