]> git.eshelyaron.com Git - emacs.git/commitdiff
(realize_default_face): Do not abort if lface is non-existent -
authorGlenn Morris <rgm@gnu.org>
Thu, 29 May 2003 17:08:16 +0000 (17:08 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 29 May 2003 17:08:16 +0000 (17:08 +0000)
reverts change from v1.275.

src/xfaces.c

index a48961207e4df0c32c46c430ec1ee1ff35089f3a..fb6494aa46485c2aa68d781fe24feba8c54020a1 100644 (file)
@@ -6575,7 +6575,12 @@ realize_default_face (f)
   /* 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))