# HG changeset patch # User michaels # Date 1024766085 0 # Node ID d4ba25667ff46efdba5e6045aac93e04649de818 # Parent 26f7cf2a4792ed7313a3dcd3fdddff54f479df5e [xemacs-hg @ 2002-06-22 17:14:43 by michaels] 2002-06-22 Mike Sperber * 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. diff -r 26f7cf2a4792 -r d4ba25667ff4 src/ChangeLog --- a/src/ChangeLog Thu Jun 20 21:39:21 2002 +0000 +++ b/src/ChangeLog Sat Jun 22 17:14:45 2002 +0000 @@ -1,3 +1,14 @@ +2002-06-22 Mike Sperber + + * 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. + 2002-06-20 Ben Wing * s/cygwin32.h: diff -r 26f7cf2a4792 -r d4ba25667ff4 src/console.h --- a/src/console.h Thu Jun 20 21:39:21 2002 +0000 +++ b/src/console.h Sat Jun 22 17:14:45 2002 +0000 @@ -72,6 +72,8 @@ /* Basic properties available to non-privileged users; redefined in console-impl.h */ +struct console_methods; + int console_live_p (struct console *c); Lisp_Object console_device_list (struct console *c); diff -r 26f7cf2a4792 -r d4ba25667ff4 src/faces.c --- 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); diff -r 26f7cf2a4792 -r d4ba25667ff4 src/objects.c --- 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))