diff options
author | Glenn Morris <rgm@gnu.org> | 2003-05-29 17:08:16 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2003-05-29 17:08:16 +0000 |
commit | 074468698d68e98cd9b66f4f329e1526228dad05 (patch) | |
tree | 64121d186c2a6a835da37202039b6db7f9e807d7 /src/xfaces.c | |
parent | cba32ade65ca2e70d6997b35a9323272e566f917 (diff) | |
download | emacs-074468698d68e98cd9b66f4f329e1526228dad05.tar.gz |
(realize_default_face): Do not abort if lface is non-existent -
reverts change from v1.275.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index a48961207e4..fb6494aa464 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)) |