* mime-image.el (mime-image-create) [XEmacs]: Ignore errors about
authorueno <ueno>
Sat, 23 Feb 2002 05:47:47 +0000 (05:47 +0000)
committerueno <ueno>
Sat, 23 Feb 2002 05:47:47 +0000 (05:47 +0000)
to obtain the instance of glyph's image.
[cf. <emacs-mime-ja:989>]

mime-image.el

index 39806f9..1a584f8 100644 (file)
@@ -92,7 +92,8 @@
                     (list type (if data-p :data :file) file-or-data)
                     props)
                  file-or-data))))
-         (if (nothing-image-instance-p (glyph-image-instance glyph)) nil
+         (if (nothing-image-instance-p (ignore-errors
+                                         (glyph-image-instance glyph))) nil
            glyph)))
 
       (defun mime-image-insert (image &optional string area)