projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3311f40
)
Make shr not bug out on images on non-graphical displays
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Feb 2016 05:44:06 +0000
(16:44 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 4 Feb 2016 05:44:06 +0000
(16:44 +1100)
* lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
images on non-graphical displays (bug#22327).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 611f0a90f69b0f22e3680c85e64f31ffb54bc1ce..bfda6543b686bbc84f164b1f94fded61a0447526 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-966,7
+966,7
@@
element is the data blob and the second element is the content-type."
(image-animated-p image))))
(image-animate image nil 60)))
image)
- (insert
alt
)))
+ (insert
(or alt "")
)))
(defun shr-rescale-image (data &optional content-type)
"Rescale DATA, if too big, to fit the current buffer."