aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/shr.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 63988d01c88..0cd15dcfe07 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -1088,13 +1088,7 @@ element is the data blob and the second element is the content-type."
1088 (insert-image image (or alt "*"))) 1088 (insert-image image (or alt "*")))
1089 (put-text-property start (point) 'image-size size) 1089 (put-text-property start (point) 'image-size size)
1090 (when (and shr-image-animate 1090 (when (and shr-image-animate
1091 (cond ((fboundp 'image-multi-frame-p) 1091 (cdr (image-multi-frame-p image)))
1092 ;; Only animate multi-frame things that specify a
1093 ;; delay; eg animated gifs as opposed to
1094 ;; multi-page tiffs. FIXME?
1095 (cdr (image-multi-frame-p image)))
1096 ((fboundp 'image-animated-p)
1097 (image-animated-p image))))
1098 (image-animate image nil 60))) 1092 (image-animate image nil 60)))
1099 image) 1093 image)
1100 (insert (or alt "")))) 1094 (insert (or alt ""))))