From a6c87ac86c19d32e47b4ff5ca147eeaa49f4222e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 27 May 1993 03:56:12 +0000 Subject: [PATCH] (display_text_line): Don't call compute_char_face for a non-X frame. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index e72ca032083..762abb65aae 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1790,7 +1790,7 @@ display_text_line (w, start, vpos, hpos, taboffset) /* Did we hit a face change? Figure out what face we should use now. We also hit this the first time through the loop, to see what face we should start with. */ - if (pos == next_face_change) + if (pos == next_face_change && FRAME_X_P (f)) current_face = compute_char_face (f, w, pos, region_beg, region_end, &next_face_change);