Some changes and re-organization for animated gif support.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 7 Jun 2011 18:32:12 +0000 (14:32 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 7 Jun 2011 18:32:12 +0000 (14:32 -0400)
commit18af70d0258153a042be9fd71d4eb090f7189a8f
tree81449660fd53df5f0a6e97907e1aeaf631e13879
parent2c631e0e829031852440433ff248149c27ba3fde
Some changes and re-organization for animated gif support.

* lisp/image.el (image-animate-max-time): Moved to image-mode.el.
(create-animated-image): Remove unnecessary function.
(image-animate): Rename from image-animate-start.  New arg.
(image-animate-stop): Removed; just use image-animate-timer.
(image-animate-timer): Use car-safe.
(image-animate-timeout): Rename argument.

* lisp/image-mode.el (image-toggle-animation): New command.
(image-mode-map): Bind it to RET.
(image-mode): Update message.
(image-toggle-display-image): Avoid a spurious cache flush.
(image-transform-rotation): Doc fix.
(image-transform-properties): Return quickly in the normal case.
(image-animate-loop): Rename from image-animate-max-time.
etc/NEWS
lisp/ChangeLog
lisp/image-mode.el
lisp/image.el