emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r101296: gnus-html-put-image, gnus-ht


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101296: gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument.
Date: Thu, 02 Sep 2010 05:03:06 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101296
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2010-09-02 05:03:06 +0000
message:
  gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-html.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-09-02 03:47:31 +0000
+++ b/lisp/gnus/ChangeLog       2010-09-02 05:03:06 +0000
@@ -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  <address@hidden>
 

=== modified file 'lisp/gnus/gnus-html.el'
--- a/lisp/gnus/gnus-html.el    2010-09-02 03:47:31 +0000
+++ b/lisp/gnus/gnus-html.el    2010-09-02 05:03:06 +0000
@@ -255,7 +255,7 @@
                           (= (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 @@
                            (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


reply via email to

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