From 7cb374ead2aa8bb3d79eaab1101e8d990077f43b Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Thu, 14 May 2020 09:11:41 +0200 Subject: [PATCH] Stop "O" from opening gemini://host without trailing slash. --- elpher.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elpher.el b/elpher.el index 13ec53c..faff8a9 100644 --- a/elpher.el +++ b/elpher.el @@ -1433,9 +1433,7 @@ When run interactively HOST-OR-URL is read from the minibuffer." (let ((address-copy (elpher-address-from-url (elpher-address-to-url address)))) (setf (url-filename address-copy) "") - (elpher-visit-page - (elpher-make-page (elpher-address-to-url address-copy) - address-copy)))) + (elpher-go (elpher-address-to-url address-copy)))) (error "Command invalid for %s" (elpher-page-display-string elpher-current-page))))) (defun elpher-bookmarks-current-p () -- 2.20.1