# HG changeset patch # User Glenn Morris # Date 1054228096 0 # Node ID 7156fc3b3571b2da6fcbd5e09310a246240dc4d2 # Parent 3a4379245dd8ffb930de791135e72cff91f2a75d (realize_default_face): Do not abort if lface is non-existent - reverts change from v1.275. diff -r 3a4379245dd8 -r 7156fc3b3571 src/xfaces.c --- a/src/xfaces.c Thu May 29 02:54:03 2003 +0000 +++ b/src/xfaces.c Thu May 29 17:08:16 2003 +0000 @@ -6575,7 +6575,12 @@ /* If the `default' face is not yet known, create it. */ lface = lface_from_face_name (f, Qdefault, 0); if (NILP (lface)) - abort (); + { + Lisp_Object frame; + XSETFRAME (frame, f); + lface = Finternal_make_lisp_face (Qdefault, frame); + } + #ifdef HAVE_WINDOW_SYSTEM if (FRAME_WINDOW_P (f))