[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrapping fails.

From: Miles Bader
Subject: Re: bootstrapping fails.
Date: Sun, 06 Jun 2004 07:49:23 +0900

Juanma Barranquero <address@hidden> writes:
> The crash is in this line (6057 of xfaces.c), in the middle of
> display-supports-face-attribute-p:
>   def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID);

Try the following stupid-but-obvious patch:

M  src/xfaces.c

* modified files

--- orig/src/xfaces.c
+++ mod/src/xfaces.c
@@ -6027,6 +6027,12 @@
   struct face *def_face;
   Lisp_Object attrs[LFACE_VECTOR_SIZE];
+  if (noninteractive || !initialized)
+    /* We may not be able to access low-level face information in batch
+       mode, or before being dumped, and this function is not going to
+       be very useful in those cases anyway, so just give up.  */
+    return Qnil;
   if (NILP (display))
     frame = selected_frame;
   else if (FRAMEP (display))


Fast, small, soon; pick any 2.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]