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>.
This commit is contained in:
parent
4b87169d11
commit
ad9c8b029c
1 changed files with 2 additions and 1 deletions
|
@ -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!");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue