Fix animated gifs (Bug#6981).
authorChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)
commite8cbec34e8ef069f54c1189a7b6109f768047be8
tree1890ec0a32380fed7a288e602405ed14e1c30a5b
parent34809aa6007e2c8ff75f9ec43500e6d34cc43aa3
Fix animated gifs (Bug#6981).

* lisp/image-mode.el (image-toggle-display-image): Ensure that the
image spec passed to the animate timer is the same object as in
the the buffer's display property.
(image-transform-properties): Doc fix.

* lisp/image.el (image-animate-max-time): Default to nil.

* lisp/image.el (image-animate-max-time): Allow nil and t values.
Default to nil.
(create-animated-image): Doc fix.
(image-animate-start): Remove second arg; just use
image-animate-max-time.
(image-animate-timeout): Doc fix.  Args changed.
lisp/ChangeLog
lisp/image-mode.el
lisp/image.el