diff options
| author | Glenn Morris | 2013-02-16 11:56:50 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-16 11:56:50 -0800 |
| commit | ed8d7fcaa2965216d44388fd00a757c8d55e7395 (patch) | |
| tree | 8e04c2457944d8e829c1eacd5eadcf68d0ad0ba6 /etc | |
| parent | 783b7b7551b197fdcfd384ac4a3d93302a073eaf (diff) | |
| download | emacs-ed8d7fcaa2965216d44388fd00a757c8d55e7395.tar.gz emacs-ed8d7fcaa2965216d44388fd00a757c8d55e7395.zip | |
Generalize "animated" images to "multi-frame" images
* lisp/image.el (image-animated-types): Remove.
(image-multi-frame-p): Rename from image-animated-p, and generalize.
(image-animated-p): Make obsolete alias.
(image-animate, image-nth-frame, image-animate-timeout):
Use image-multi-frame-p.
(image-animate-timeout): If no delay, use image-default-frame-delay.
* lisp/image-mode.el (image-mode, image-toggle-animation):
Use image-multi-frame-p.
(image-mode): Adjust startup message for a multi-frame image.
* lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay.
This is consistent with the old image-animated-p behavior.
* etc/NEWS: Add placeholder for this.
Fixes: debbugs:10739
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -145,6 +145,8 @@ 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 |
| 146 | next or previous frame. `F' (`image-goto-frame') shows a specific frame. | 146 | next or previous frame. `F' (`image-goto-frame') shows a specific frame. |
| 147 | 147 | ||
| 148 | *** `image-animated-p' is now `image-multi-frame-p'. | ||
| 149 | |||
| 148 | --- | 150 | --- |
| 149 | *** The command `image-mode-fit-frame' deletes other windows. | 151 | *** The command `image-mode-fit-frame' deletes other windows. |
| 150 | When toggling, it restores the frame's previous window configuration. | 152 | When toggling, it restores the frame's previous window configuration. |