The Lambda Lab
/
projects
/
elpher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unknown gemini content now rendered as download.
[elpher.git]
/
elpher.el
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
((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.
(defun elpher-gemini-get-link-url (link-line)
"Extract the url portion of LINK-LINE, a gemini map file link line.