* net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
Now that Emacs supports ImageMagick animations.
This commit is contained in:
parent
6146bf5d2f
commit
4b5fe4ee09
2 changed files with 5 additions and 1 deletions
|
@ -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'.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue