From a1fa52cf8607b8b7c77127e6f079c3d7e716da43 Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 23 Feb 2002 05:47:47 +0000 Subject: [PATCH] * mime-image.el (mime-image-create) [XEmacs]: Ignore errors about to obtain the instance of glyph's image. [cf. ] --- mime-image.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mime-image.el b/mime-image.el index 39806f9..1a584f8 100644 --- a/mime-image.el +++ b/mime-image.el @@ -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) -- 1.7.10.4