* net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 16 Aug 2013 15:17:21 +0000 (17:17 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 16 Aug 2013 15:17:21 +0000 (17:17 +0200)
Now that Emacs supports ImageMagick animations.

lisp/ChangeLog
lisp/net/shr.el

index 1b20f9c..8440647 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
+       now that Emacs supports ImageMagick animations.
+
 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-cmds.el (top): Don't declare `buffer-name'.
index 3283712..9cac618 100644 (file)
@@ -779,7 +779,6 @@ element is the data blob and the second element is the content-type."
   "Rescale DATA, if too big, to fit the current buffer.
 If FORCE, rescale the image anyway."
   (if (or (not (fboundp 'imagemagick-types))
-         (eq (image-type-from-data data) 'gif)
          (not (get-buffer-window (current-buffer))))
       (create-image data nil t :ascent 100)
     (let ((edges (window-inside-pixel-edges