Ignore all image-creation problems.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 18:41:18 +0000 (20:41 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 26 Sep 2010 18:41:18 +0000 (20:41 +0200)
lisp/ChangeLog
lisp/gnus-ems.el

index 82a2dbe..e5a9ffb 100644 (file)
@@ -1,5 +1,7 @@
 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
+
        * gnus.el (gnus): Give a final warning after startup.
 
        * gnus-util.el (gnus-action-message-log): New variable.
index 9c395db..7b3f3d8 100644 (file)
     (when face
       (setq props (plist-put props :foreground (face-foreground face)))
       (setq props (plist-put props :background (face-background face))))
-    (apply 'create-image file type data-p props)))
+    (ignore-errors
+      (apply 'create-image file type data-p props))))
 
 (defun gnus-put-image (glyph &optional string category)
   (let ((point (point)))