2010-08-29 Adam Sjøgren <asjo@koldfront.dk>
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 19:52:20 +0000 (21:52 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 19:52:20 +0000 (21:52 +0200)
* gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
functions.

lisp/ChangeLog
lisp/gnus-html.el

index 0578873..f889525 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
+       functions. 
+
 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-art.el (gnus-article-add-button): Take an optional parameter to
index f07be29..4d38b20 100644 (file)
                       (= (car (image-size image t)) 30)
                       (= (cdr (image-size image t)) 30))))
        (progn
-         (put-image image point)
+         (gnus-put-image image point)
          t)
-      (put-image (find-image '((:type xpm :file "lock-broken.xpm")))
-                point)
+      (when (fboundp 'find-image)
+       (gnus-put-image (find-image '((:type xpm :file "lock-broken.xpm")))
+                       point))
       nil)))
 
 (defun gnus-html-prune-cache ()