diff options
author | Kim F. Storm <storm@cua.dk> | 2010-03-07 21:02:20 +0200 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2010-03-07 21:02:20 +0200 |
commit | 0608aa457fd97d1c9a116152a77544b07f7fd55a (patch) | |
tree | 40aaded8d817bc2a78a28cbfa6089c0f175db429 /lisp/image-mode.el | |
parent | dd5de7c6e4efc3c49e01ce75313303ba78e31b94 (diff) | |
download | emacs-0608aa457fd97d1c9a116152a77544b07f7fd55a.tar.gz |
Animated image API.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
* image.el (image-animate-max-time): New defcustom.
(image-animated-types): New defconst.
(create-animated-image, image-animate-timer)
(image-animate-start, image-animate-stop, image-animate-timeout)
(image-animated-p): New functions.
* image-mode.el (image-toggle-display-image):
Replace `create-image' with `create-animated-image'.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r-- | lisp/image-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index f3cdc05da16..1d999b50007 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -464,7 +464,7 @@ was inserted." (buffer-substring-no-properties (point-min) (point-max))) filename)) (type (image-type file-or-data nil data-p)) - (image (create-image file-or-data type data-p)) + (image (create-animated-image file-or-data type data-p)) (props `(display ,image intangible ,image |