From e919c20c21537194693c28c0644cda476223aa6c Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 3 Oct 2010 14:54:13 +0200 Subject: [PATCH] (shr-rescale-image): Use the right image-size variant. --- lisp/ChangeLog | 1 + lisp/shr.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6796ddd93..aa4c82d21 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2010-10-03 Lars Magne Ingebrigtsen * shr.el (shr-tag-blockquote): Convert name. + (shr-rescale-image): Use the right image-size variant. * gnus-sum.el (gnus-summary-select-article-buffer): If the article buffer isn't shown, then select the current article first instead of diff --git a/lisp/shr.el b/lisp/shr.el index 04ed016e7..2efd74016 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -179,7 +179,7 @@ fit these criteria." (not (get-buffer-window (current-buffer)))) (create-image data nil t) (let* ((image (create-image data nil t)) - (size (image-size image)) + (size (image-size image t)) (width (car size)) (height (cdr size)) (edges (window-inside-pixel-edges -- 2.25.1