* src/xdisp.c (extend_face_to_end_of_line): Fix a recent
change that moved the initialization of default_face.
Reported by Glenn Morris <rgm@gnu.org>.
it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil);
}
-#ifdef HAVE_WINDOW_SYSTEM
/* The default face, possibly remapped. */
struct face *default_face =
FACE_FROM_ID (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID));
+
+#ifdef HAVE_WINDOW_SYSTEM
if (default_face == NULL)
error ("extend_face_to_end_of_line: default_face is not set!");