Commit ad9c8b02 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix compilation --without--x

* 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>.
parent 4b87169d
Pipeline #2964 passed with stage
in 54 minutes and 21 seconds
......@@ -20513,10 +20513,11 @@ extend_face_to_end_of_line (struct it *it)
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!");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment