2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * shr.el (shr-put-image): Use the new interface for animating images.
+
* dgnushack.el: Bind `gnutls-available-p' to `ignore' on XEmacs to
avoid compiler warnings.
(when (and (> (current-column) 0)
(> (car (image-size image t)) 400))
(insert "\n"))
- (insert-image image (or alt "*")))
+ (insert-image image (or alt "*"))
+ (when (image-animated-p image)
+ (image-animate image)))
image)
(insert alt)))
:width window-width
:ascent 100)
image)))
- (when (and (fboundp 'create-animated-image)
- (eq (image-type data nil t) 'gif))
- (setq image (create-animated-image data 'gif t
- :ascent 100)))
image)))
;; url-cache-extract autoloads url-cache.