diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 0f842b8673e..6ba92f3ed79 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -6441,6 +6441,8 @@ get_next_display_element (struct it *it) | |||
| 6441 | 6441 | ||
| 6442 | c = ' '; | 6442 | c = ' '; |
| 6443 | for (i = 0; i < cmp->glyph_len; i++) | 6443 | for (i = 0; i < cmp->glyph_len; i++) |
| 6444 | /* TAB in a composition means display glyphs with | ||
| 6445 | padding space on the left or right. */ | ||
| 6444 | if ((c = COMPOSITION_GLYPH (cmp, i)) != '\t') | 6446 | if ((c = COMPOSITION_GLYPH (cmp, i)) != '\t') |
| 6445 | break; | 6447 | break; |
| 6446 | } | 6448 | } |
| @@ -11916,7 +11918,7 @@ hscroll_window_tree (Lisp_Object window) | |||
| 11916 | } | 11918 | } |
| 11917 | hscroll = max (hscroll, XFASTINT (w->min_hscroll)); | 11919 | hscroll = max (hscroll, XFASTINT (w->min_hscroll)); |
| 11918 | 11920 | ||
| 11919 | /* Don't will prevent redisplay optimizations if hscroll | 11921 | /* Don't prevent redisplay optimizations if hscroll |
| 11920 | hasn't changed, as it will unnecessarily slow down | 11922 | hasn't changed, as it will unnecessarily slow down |
| 11921 | redisplay. */ | 11923 | redisplay. */ |
| 11922 | if (XFASTINT (w->hscroll) != hscroll) | 11924 | if (XFASTINT (w->hscroll) != hscroll) |
| @@ -21726,6 +21728,8 @@ fill_composite_glyph_string (struct glyph_string *s, struct face *base_face, | |||
| 21726 | { | 21728 | { |
| 21727 | int c = COMPOSITION_GLYPH (s->cmp, i); | 21729 | int c = COMPOSITION_GLYPH (s->cmp, i); |
| 21728 | 21730 | ||
| 21731 | /* TAB in a composition means display glyphs with padding space | ||
| 21732 | on the left or right. */ | ||
| 21729 | if (c != '\t') | 21733 | if (c != '\t') |
| 21730 | { | 21734 | { |
| 21731 | int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c, | 21735 | int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c, |