aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2003-05-29 17:08:16 +0000
committerGlenn Morris <[email protected]>2003-05-29 17:08:16 +0000
commit074468698d68e98cd9b66f4f329e1526228dad05 (patch)
tree64121d186c2a6a835da37202039b6db7f9e807d7
parentcba32ade65ca2e70d6997b35a9323272e566f917 (diff)
(realize_default_face): Do not abort if lface is non-existent -
reverts change from v1.275.
-rw-r--r--src/xfaces.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index a48961207e..fb6494aa46 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -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))