Unknown gemini content now rendered as download.
authorTim Vaughan <plugd@thelambdalab.xyz>
Sun, 17 May 2020 21:39:31 +0000 (23:39 +0200)
committerTim Vaughan <plugd@thelambdalab.xyz>
Sun, 17 May 2020 21:39:31 +0000 (23:39 +0200)
elpher.el

index d100acb..18e9b93 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -1047,7 +1047,7 @@ that the response was malformed."
         ((pred (string-prefix-p "image/"))
          (elpher-render-image body))
         (_other
-         (error "Unsupported MIME type %S" mime-type))))))
+         (elpher-render-download body))))))
 
 (defun elpher-gemini-get-link-url (link-line)
   "Extract the url portion of LINK-LINE, a gemini map file link line.