[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ad9c8b0: Fix compilation --without--x
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master ad9c8b0: Fix compilation --without--x |
Date: |
Fri, 23 Aug 2019 12:22:06 -0400 (EDT) |
branch: master
commit ad9c8b029c4949b492db778c40b5c94bd7093f85
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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 <address@hidden>.
---
src/xdisp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index 41d36bd..75bc536 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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!");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ad9c8b0: Fix compilation --without--x,
Eli Zaretskii <=