emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 75add076ba5 2/2: ; * lisp/net/shr.el (shr-put-image): No more nee


From: Eli Zaretskii
Subject: master 75add076ba5 2/2: ; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT.
Date: Sat, 16 Dec 2023 07:53:13 -0500 (EST)

branch: master
commit 75add076ba507f49092f260572f6762403db5389
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]