diff options
| author | Richard M. Stallman | 1993-05-27 03:56:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-27 03:56:12 +0000 |
| commit | a6c87ac86c19d32e47b4ff5ca147eeaa49f4222e (patch) | |
| tree | 8c7098d710601c88ea5d547547afa9435b8e1b23 /src | |
| parent | a2db42d60fad5502066d0cd037f544b54a0b185b (diff) | |
| download | emacs-a6c87ac86c19d32e47b4ff5ca147eeaa49f4222e.tar.gz emacs-a6c87ac86c19d32e47b4ff5ca147eeaa49f4222e.zip | |
(display_text_line): Don't call compute_char_face for a non-X frame.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 1790 | /* Did we hit a face change? Figure out what face we should | 1790 | /* Did we hit a face change? Figure out what face we should |
| 1791 | use now. We also hit this the first time through the | 1791 | use now. We also hit this the first time through the |
| 1792 | loop, to see what face we should start with. */ | 1792 | loop, to see what face we should start with. */ |
| 1793 | if (pos == next_face_change) | 1793 | if (pos == next_face_change && FRAME_X_P (f)) |
| 1794 | current_face = compute_char_face (f, w, pos, | 1794 | current_face = compute_char_face (f, w, pos, |
| 1795 | region_beg, region_end, | 1795 | region_beg, region_end, |
| 1796 | &next_face_change); | 1796 | &next_face_change); |