aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-02-20 22:03:02 -0800
committerGlenn Morris2013-02-20 22:03:02 -0800
commitf0c954fa281b31517bbab8cf82a5d81fc7caeff5 (patch)
tree6e035f26c6fe954ca9d780912b99d609af3d1612
parentc1bf363a732b66cdbe1c28c11f4b8fe3f064098d (diff)
downloademacs-f0c954fa281b31517bbab8cf82a5d81fc7caeff5.tar.gz
emacs-f0c954fa281b31517bbab8cf82a5d81fc7caeff5.zip
More doc updates for multi-frame images
* doc/emacs/files.texi (File Conveniences): Not just GIFs can be animated. * doc/lispref/display.texi (Multi-Frame Images): Minor rephrasing. * etc/NEWS: Related edits.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/files.texi3
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/display.texi8
-rw-r--r--etc/NEWS17
5 files changed, 28 insertions, 8 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index ba6f7e323e0..83d5b1d25ed 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12013-02-21 Glenn Morris <rgm@gnu.org>
2
3 * files.texi (File Conveniences): Not just GIFs can be animated.
4
12013-02-13 Glenn Morris <rgm@gnu.org> 52013-02-13 Glenn Morris <rgm@gnu.org>
2 6
3 * ack.texi (Acknowledgments): Don't mention yow any more. 7 * ack.texi (Acknowledgments): Don't mention yow any more.
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index a85c16ee1bc..7f7ae483cd5 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1937,8 +1937,7 @@ or taller than the frame, the usual point motion keys (@kbd{C-f},
1937displayed. If the image can be animated, the command @kbd{RET} 1937displayed. If the image can be animated, the command @kbd{RET}
1938(@code{image-toggle-animation}) starts or stops the animation. 1938(@code{image-toggle-animation}) starts or stops the animation.
1939Animation plays once, unless the option @code{image-animate-loop} is 1939Animation plays once, unless the option @code{image-animate-loop} is
1940non-@code{nil}. Currently, Emacs only supports animation in GIF 1940non-@code{nil}.
1941files.
1942 1941
1943@cindex ImageMagick support 1942@cindex ImageMagick support
1944@vindex imagemagick-enabled-types 1943@vindex imagemagick-enabled-types
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 74f2eb9312b..355d0b57be5 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12013-02-21 Glenn Morris <rgm@gnu.org>
2
3 * display.texi (Multi-Frame Images): Minor rephrasing.
4
12013-02-20 Glenn Morris <rgm@gnu.org> 52013-02-20 Glenn Morris <rgm@gnu.org>
2 6
3 * display.texi (GIF Images, TIFF Images): Delete these nodes. 7 * display.texi (GIF Images, TIFF Images): Delete these nodes.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 1e596c14233..eae6af9969d 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4925,10 +4925,10 @@ integer (counting from 0) that specifies which frame is being displayed.
4925This function returns non-@code{nil} if @var{image} contains more than 4925This function returns non-@code{nil} if @var{image} contains more than
4926one frame. The actual return value is a cons @code{(@var{nimages} 4926one frame. The actual return value is a cons @code{(@var{nimages}
4927. @var{delay})}, where @var{nimages} is the number of frames and 4927. @var{delay})}, where @var{nimages} is the number of frames and
4928@var{delay} is the delay in seconds between them, if the image itself 4928@var{delay} is the delay in seconds between them, or @code{nil}
4929specifies a delay. Images that are intended to be animated usually 4929if the image does not specify a delay. Images that are intended to be
4930specify a frame delay, whereas ones that are intended to be treated as 4930animated usually specify a frame delay, whereas ones that are intended
4931multiple pages do not. 4931to be treated as multiple pages do not.
4932@end defun 4932@end defun
4933 4933
4934@defun image-current-frame image 4934@defun image-current-frame image
diff --git a/etc/NEWS b/etc/NEWS
index 2eda7a5c775..de151d0c884 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -145,8 +145,6 @@ directory, respectively.
145`f' (`image-next-frame') and `b' (`image-previous-frame') visit the 145`f' (`image-next-frame') and `b' (`image-previous-frame') visit the
146next or previous frame. `F' (`image-goto-frame') shows a specific frame. 146next or previous frame. `F' (`image-goto-frame') shows a specific frame.
147 147
148*** `image-animated-p' is now `image-multi-frame-p'.
149
150--- 148---
151*** The command `image-mode-fit-frame' deletes other windows. 149*** The command `image-mode-fit-frame' deletes other windows.
152When toggling, it restores the frame's previous window configuration. 150When toggling, it restores the frame's previous window configuration.
@@ -291,6 +289,21 @@ rather than inheriting from it (as do face specs set via Customize).
291*** New face characteristic (supports :underline (:style wave)) 289*** New face characteristic (supports :underline (:style wave))
292specifies whether or not the terminal can display a wavy line. 290specifies whether or not the terminal can display a wavy line.
293 291
292** Image API
293
294+++
295*** `image-animated-p' is now `image-multi-frame-p'.
296It returns non-nil for any image that contains multiple frames,
297whether or not it specifies a frame delay.
298
299+++
300*** When animating images that do not specify a frame delay,
301Emacs uses `image-default-frame-delay'.
302
303+++
304*** New functions `image-current-frame' and `image-show-frame' for getting
305and setting the current frame of a multi-frame image.
306
294** time-to-seconds is not obsolete any more. 307** time-to-seconds is not obsolete any more.
295** New function special-form-p. 308** New function special-form-p.
296** Docstrings can be made dynamic by adding a `dynamic-docstring-function' 309** Docstrings can be made dynamic by adding a `dynamic-docstring-function'