; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT.

This commit is contained in:
Eli Zaretskii 2023-12-16 14:52:36 +02:00
parent 745ec75677
commit 75add076ba

View file

@ -1148,8 +1148,8 @@ element is the data blob and the second element is the content-type."
(insert "\n"))
(let ((image-pos (point)))
(if (eq size 'original)
(insert-sliced-image image (or alt "*") nil 20 1)
(insert-image image (or alt "*")))
(insert-sliced-image image alt nil 20 1)
(insert-image image alt))
(put-text-property start (point) 'image-size size)
(when (and (not inline) shr-max-inline-image-size)
(insert "\n"))