From 75add076ba507f49092f260572f6762403db5389 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 16 Dec 2023 14:52:36 +0200 Subject: [PATCH] ; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT. --- lisp/net/shr.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")) -- 2.39.2