From: Eli Zaretskii Date: Sat, 16 Dec 2023 12:52:36 +0000 (+0200) Subject: ; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75add076ba507f49092f260572f6762403db5389;p=emacs.git ; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT. --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 8a24a4f6696..ec9fb1573ac 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -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"))