projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
745ec75
)
; * lisp/net/shr.el (shr-put-image): No more need to test for nil ALT.
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 16 Dec 2023 12:52:36 +0000
(14:52 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 16 Dec 2023 12:52:36 +0000
(14:52 +0200)
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 8a24a4f669675b73c646f35526f28942d9b9ca88..ec9fb1573accd9404f4032d32c496116e3c0467d 100644
(file)
--- 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"))