Use gnus-create-image to be XEmacs-compatible.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 30 Aug 2010 19:42:11 +0000 (21:42 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 30 Aug 2010 19:42:11 +0000 (21:42 +0200)
lisp/ChangeLog
lisp/gnus-html.el

index ecc34b8..e1341dc 100644 (file)
@@ -1,5 +1,8 @@
 2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
+       XEmacs-compatible. 
+
        * nnslashdot.el: Removed this unused backend.
 
        * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
index 099133d..bbf83d3 100644 (file)
 
 (defun gnus-html-put-image (file point)
   (let ((image (ignore-errors
-                (create-image file))))
+                (gnus-create-image file))))
     (save-excursion
       (goto-char point)
       (if (and image