diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 387a3709722..6cb5b4e0562 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -20995,7 +20995,10 @@ display_line (struct it *it) | |||
| 20995 | up to the right margin of the window. */ | 20995 | up to the right margin of the window. */ |
| 20996 | extend_face_to_end_of_line (it); | 20996 | extend_face_to_end_of_line (it); |
| 20997 | } | 20997 | } |
| 20998 | else if (it->c == '\t' && FRAME_WINDOW_P (it->f)) | 20998 | else if ((it->what == IT_CHARACTER |
| 20999 | || it->what == IT_STRETCH | ||
| 21000 | || it->what == IT_COMPOSITION) | ||
| 21001 | && it->c == '\t' && FRAME_WINDOW_P (it->f)) | ||
| 20999 | { | 21002 | { |
| 21000 | /* A TAB that extends past the right edge of the | 21003 | /* A TAB that extends past the right edge of the |
| 21001 | window. This produces a single glyph on | 21004 | window. This produces a single glyph on |