Make shr not bug out on images on non-graphical displays
* lisp/net/shr.el (shr-put-image): Don't bug out on alt-less images on non-graphical displays (bug#22327).
This commit is contained in:
parent
3311f4080b
commit
af6ab7efc7
1 changed files with 1 additions and 1 deletions
|
@ -966,7 +966,7 @@ element is the data blob and the second element is the content-type."
|
||||||
(image-animated-p image))))
|
(image-animated-p image))))
|
||||||
(image-animate image nil 60)))
|
(image-animate image nil 60)))
|
||||||
image)
|
image)
|
||||||
(insert alt)))
|
(insert (or alt ""))))
|
||||||
|
|
||||||
(defun shr-rescale-image (data &optional content-type)
|
(defun shr-rescale-image (data &optional content-type)
|
||||||
"Rescale DATA, if too big, to fit the current buffer."
|
"Rescale DATA, if too big, to fit the current buffer."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue