diff options
| author | Chong Yidong | 2011-06-07 14:32:12 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-06-07 14:32:12 -0400 |
| commit | 18af70d0258153a042be9fd71d4eb090f7189a8f (patch) | |
| tree | 81449660fd53df5f0a6e97907e1aeaf631e13879 /etc | |
| parent | 2c631e0e829031852440433ff248149c27ba3fde (diff) | |
| download | emacs-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/NEWS | 22 |
1 files changed, 16 insertions, 6 deletions
| @@ -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 | ||
| 699 | image can be animated. | ||
| 700 | |||
| 701 | *** Option `image-animate-loop', if non-nil, loops the animation. | ||
| 702 | If 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). |
| 984 | and the number of sub-images in the image is more than one, then the | 992 | |
| 985 | new function `create-animated-image' creates an animated image where | 993 | **** `image-animated-p' returns non-nil if an image can be animated. |
| 986 | sub-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. |
| 988 | by the Graphic Control Extension of the image. | 996 | |
| 997 | **** `image-animate-timer' returns the timer object for an image that | ||
| 998 | is being animated. | ||
| 989 | 999 | ||
| 990 | *** `image-extension-data' is renamed to `image-metadata'. | 1000 | *** `image-extension-data' is renamed to `image-metadata'. |
| 991 | 1001 | ||