The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f647f0
)
Unknown gemini content now rendered as download.
author
Tim Vaughan
<plugd@thelambdalab.xyz>
Sun, 17 May 2020 21:39:31 +0000
(23:39 +0200)
committer
Tim Vaughan
<plugd@thelambdalab.xyz>
Sun, 17 May 2020 21:39:31 +0000
(23:39 +0200)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/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
- (e
rror "Unsupported MIME type %S" mime-type
))))))
+ (e
lpher-render-download body
))))))
(defun elpher-gemini-get-link-url (link-line)
"Extract the url portion of LINK-LINE, a gemini map file link line.