emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 556feab: Always rescale images in gnus-rescale-imag


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 556feab: Always rescale images in gnus-rescale-image
Date: Wed, 11 Apr 2018 13:32:21 -0400 (EDT)

branch: master
commit 556feab8a0ec95953723cff6aacfeaf795d9242f
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Always rescale images in gnus-rescale-image
    
    * lisp/gnus/gnus-util.el (gnus-rescale-image): Rescale images even
    if we don't have a visible article buffer.  Reported and fix
    suggested by Kevin Brubeck Unhammer.
---
 lisp/gnus/gnus-util.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 932ae5b..1001d11 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -1615,8 +1615,7 @@ empty directories from OLD-PATH."
   "Rescale IMAGE to SIZE if possible.
 SIZE is in format (WIDTH . HEIGHT). Return a new image.
 Sizes are in pixels."
-  (if (or (not (fboundp 'imagemagick-types))
-         (not (get-buffer-window (current-buffer))))
+  (if (not (fboundp 'imagemagick-types))
       image
     (let ((new-width (car size))
           (new-height (cdr size)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]