aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2011-06-07 14:32:12 -0400
committerChong Yidong2011-06-07 14:32:12 -0400
commit18af70d0258153a042be9fd71d4eb090f7189a8f (patch)
tree81449660fd53df5f0a6e97907e1aeaf631e13879 /etc
parent2c631e0e829031852440433ff248149c27ba3fde (diff)
downloademacs-18af70d0258153a042be9fd71d4eb090f7189a8f.tar.gz
emacs-18af70d0258153a042be9fd71d4eb090f7189a8f.zip
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/NEWS22
1 files changed, 16 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4a56915798c..eaa6ee1b704 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -693,6 +693,14 @@ listing object name completions when being sent text via
693 693
694*** An API for manipulating SQL product definitions has been added. 694*** An API for manipulating SQL product definitions has been added.
695 695
696** Image mode
697
698*** RET (`image-toggle-animation') toggles animation, if the displayed
699image can be animated.
700
701*** Option `image-animate-loop', if non-nil, loops the animation.
702If nil, `image-toggle-animation' plays the animation once.
703
696** sregex.el is now obsolete, since rx.el is a strict superset. 704** sregex.el is now obsolete, since rx.el is a strict superset.
697 705
698** s-region.el and pc-select are now declared obsolete, 706** s-region.el and pc-select are now declared obsolete,
@@ -980,12 +988,14 @@ i.e. via menu entries of the form `(menu-item "--")'.
980 988
981** Image API 989** Image API
982 990
983*** When the image type is one of listed in `image-animated-types' 991*** Animated images support (currently animated gifs only).
984and the number of sub-images in the image is more than one, then the 992
985new function `create-animated-image' creates an animated image where 993**** `image-animated-p' returns non-nil if an image can be animated.
986sub-images are displayed successively with the duration defined by 994
987`image-animate-max-time' and the delay between sub-images defined 995**** `image-animate' animates a supplied image spec.
988by the Graphic Control Extension of the image. 996
997**** `image-animate-timer' returns the timer object for an image that
998is being animated.
989 999
990*** `image-extension-data' is renamed to `image-metadata'. 1000*** `image-extension-data' is renamed to `image-metadata'.
991 1001