(Fdisplay_supports_face_attributes_p): Work around bootstrapping problem
+2004-06-06 Miles Bader <miles@gnu.org>
+
+ * xfaces.c (Fdisplay_supports_face_attributes_p): Give up
+ immediately if non-interactive or not initialized.
+
2004-06-05 Richard M. Stallman <rms@gnu.org>
* minibuf.c (Fcompleting_read): Doc fix.
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))