gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 2 Sep 2010 05:00:01 +0000 (05:00 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 2 Sep 2010 05:00:01 +0000 (05:00 +0000)
lisp/ChangeLog
lisp/gnus-html.el

index 462110d..7b70e99 100644 (file)
@@ -2,6 +2,7 @@
 
        * gnus-html.el (gnus-article-html): Make work buffer multibyte for
        decoded contents.
+       (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
 
 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
index 80eaae6..3948598 100644 (file)
@@ -255,7 +255,7 @@ fit these criteria."
                           (= (car (image-size image t)) 30)
                           (= (cdr (image-size image t)) 30))))
            (progn
-             (gnus-put-image (gnus-html-rescale-image image)
+             (gnus-put-image (gnus-html-rescale-image image file)
                              (gnus-string-or string "*"))
              t)
          (insert string)
@@ -265,7 +265,7 @@ fit these criteria."
                            (gnus-string-or string "*")))
          nil)))))
 
-(defun gnus-html-rescale-image (image)
+(defun gnus-html-rescale-image (image file)
   (if (or (not (fboundp 'imagemagick-types))
          (not (get-buffer-window (current-buffer))))
       image