diff src/objects.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/objects.c	Thu Jun 20 21:39:21 2002 +0000
+++ b/src/objects.c	Sat Jun 22 17:14:45 2002 +0000
@@ -689,8 +689,6 @@
   Fget_charset (XCAR (matchspec));
 }
 
-#endif /* MULE */
-
 void
 initialize_charset_font_caches (struct device *d)
 {
@@ -720,6 +718,9 @@
     }
 }
 
+#endif /* MULE */
+
+
 static Lisp_Object
 font_instantiate (Lisp_Object specifier, Lisp_Object matchspec,
 		  Lisp_Object domain, Lisp_Object instantiator,
@@ -761,8 +762,12 @@
 
   if (STRINGP (instantiator))
     {
+#ifdef MULE
       Lisp_Object cache = stage ? d->charset_font_cache_stage_2 :
         d->charset_font_cache_stage_1;
+#else
+      Lisp_Object cache = d->font_instance_cache;
+#endif
 
 #ifdef MULE
       if (!NILP (charset))