mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
(display_text_line): Don't call compute_char_face for a non-X frame.
This commit is contained in:
parent
a2db42d60f
commit
a6c87ac86c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue