diff options
| author | Glenn Morris | 2013-05-29 20:24:30 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-05-29 20:24:30 -0700 |
| commit | dd8620de6ec3fc50494f3bba4d324b0f73af4e4b (patch) | |
| tree | d082a65e7c266684d7b0a99d9e5d7ad04cd2405e | |
| parent | ceca95b18eea3d3be1ac46df15b98ad846eaa770 (diff) | |
| download | emacs-dd8620de6ec3fc50494f3bba4d324b0f73af4e4b.tar.gz emacs-dd8620de6ec3fc50494f3bba4d324b0f73af4e4b.zip | |
* image.el (image-animated-p): Tweak definition.
* gnus/shr.el (shr-put-image): Silence compiler.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 13 | ||||
| -rw-r--r-- | lisp/image.el | 7 |
4 files changed, 19 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7c702f0aa4b..66e8c227d1e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-05-30 Glenn Morris <rgm@gnu.org> | 1 | 2013-05-30 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * image.el (image-animated-p): Tweak definition. | ||
| 4 | |||
| 3 | * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh. | 5 | * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh. |
| 4 | (rlogin-process-connection-type): Tweak default. Add set-after. | 6 | (rlogin-process-connection-type): Tweak default. Add set-after. |
| 5 | (rlogin-host): Doc fix. | 7 | (rlogin-host): Doc fix. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3cfca4525f0..b45abb618d8 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-05-30 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * shr.el (shr-put-image): Silence compiler. | ||
| 4 | |||
| 1 | 2013-05-29 Glenn Morris <rgm@gnu.org> | 5 | 2013-05-29 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * gnus-ems.el (set-process-plist): Every supported Emacs has this. | 7 | * gnus-ems.el (set-process-plist): Every supported Emacs has this. |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 2d2272d6c11..9284da4c4b3 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -631,12 +631,13 @@ size, and full-buffer size." | |||
| 631 | (overlay-put overlay 'face 'default))) | 631 | (overlay-put overlay 'face 'default))) |
| 632 | (insert-image image (or alt "*"))) | 632 | (insert-image image (or alt "*"))) |
| 633 | (put-text-property start (point) 'image-size size) | 633 | (put-text-property start (point) 'image-size size) |
| 634 | (when (if (fboundp 'image-multi-frame-p) | 634 | (when (cond ((fboundp 'image-multi-frame-p) |
| 635 | ;; Only animate multi-frame things that specify a | 635 | ;; Only animate multi-frame things that specify a |
| 636 | ;; delay; eg animated gifs as opposed to | 636 | ;; delay; eg animated gifs as opposed to |
| 637 | ;; multi-page tiffs. FIXME? | 637 | ;; multi-page tiffs. FIXME? |
| 638 | (cdr (image-multi-frame-p image)) | 638 | (cdr (image-multi-frame-p image))) |
| 639 | (image-animated-p image)) | 639 | ((fboundp 'image-animated-p) |
| 640 | (image-animated-p image))) | ||
| 640 | (image-animate image nil 60))) | 641 | (image-animate image nil 60))) |
| 641 | image) | 642 | image) |
| 642 | (insert alt))) | 643 | (insert alt))) |
diff --git a/lisp/image.el b/lisp/image.el index ec7b41bf126..804dc3af5ea 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -624,7 +624,12 @@ in which case you might want to use `image-default-frame-delay'." | |||
| 624 | (setq delay image-default-frame-delay)) | 624 | (setq delay image-default-frame-delay)) |
| 625 | (cons images delay)))) | 625 | (cons images delay)))) |
| 626 | 626 | ||
| 627 | (define-obsolete-function-alias 'image-animated-p 'image-multi-frame-p "24.4") | 627 | (defun image-animated-p (image) |
| 628 | "Like `image-multi-frame-p', but returns nil if no delay is specified." | ||
| 629 | (let ((multi (image-multi-frame-p image))) | ||
| 630 | (and (cdr multi) multi))) | ||
| 631 | |||
| 632 | (make-obsolete 'image-animated-p 'image-multi-frame-p "24.4") | ||
| 628 | 633 | ||
| 629 | ;; "Destructively"? | 634 | ;; "Destructively"? |
| 630 | (defun image-animate (image &optional index limit) | 635 | (defun image-animate (image &optional index limit) |