diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-06-07 14:32:12 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-06-07 14:32:12 -0400 |
commit | 18af70d0258153a042be9fd71d4eb090f7189a8f (patch) | |
tree | 81449660fd53df5f0a6e97907e1aeaf631e13879 /etc | |
parent | 2c631e0e829031852440433ff248149c27ba3fde (diff) | |
download | emacs-18af70d0258153a042be9fd71d4eb090f7189a8f.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -693,6 +693,14 @@ listing object name completions when being sent text via *** An API for manipulating SQL product definitions has been added. +** Image mode + +*** RET (`image-toggle-animation') toggles animation, if the displayed +image can be animated. + +*** Option `image-animate-loop', if non-nil, loops the animation. +If nil, `image-toggle-animation' plays the animation once. + ** sregex.el is now obsolete, since rx.el is a strict superset. ** s-region.el and pc-select are now declared obsolete, @@ -980,12 +988,14 @@ i.e. via menu entries of the form `(menu-item "--")'. ** Image API -*** When the image type is one of listed in `image-animated-types' -and the number of sub-images in the image is more than one, then the -new function `create-animated-image' creates an animated image where -sub-images are displayed successively with the duration defined by -`image-animate-max-time' and the delay between sub-images defined -by the Graphic Control Extension of the image. +*** Animated images support (currently animated gifs only). + +**** `image-animated-p' returns non-nil if an image can be animated. + +**** `image-animate' animates a supplied image spec. + +**** `image-animate-timer' returns the timer object for an image that +is being animated. *** `image-extension-data' is renamed to `image-metadata'. |