diff src/faces.c @ 874:d4ba25667ff4

[xemacs-hg @ 2002-06-22 17:14:43 by michaels] 2002-06-22 Mike Sperber <mike@xemacs.org> * faces.c (face_property_matching_instance): Only set cdr of matchspec if it's actually a cons. * console.h: Define opaque console_methods to unbreak the build. * objects.c (initialize_charset_font_caches): (invalidate_charset_font_caches): Only define if we're MULE. (font_instantiate): Unbreak for non-MULE.
author michaels
date Sat, 22 Jun 2002 17:14:45 +0000
parents 79c6ff3eef26
children c925bacdda60
line wrap: on
line diff
--- a/src/faces.c	Thu Jun 20 21:39:21 2002 +0000
+++ b/src/faces.c	Sat Jun 22 17:14:45 2002 +0000
@@ -563,7 +563,8 @@
 				       domain, errb, no_fallback, depth);
   if (UNBOUNDP (retval))
     {
-      Fsetcdr (matchspec, Qt);
+      if (CONSP (matchspec))
+	  Fsetcdr (matchspec, Qt);
       retval = specifier_instance_no_quit (Fget (face, property, Qnil),
 					   matchspec, domain, errb,
 					   no_fallback, depth);