From: Tim Vaughan Date: Thu, 14 May 2020 07:11:41 +0000 (+0200) Subject: Stop "O" from opening gemini://host without trailing slash. X-Git-Tag: v2.6.1~1 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=7cb374ead2aa8bb3d79eaab1101e8d990077f43b;p=elpher.git Stop "O" from opening gemini://host without trailing slash. --- 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 ()