aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-09-15 20:37:16 +0300
committerEli Zaretskii2011-09-15 20:37:16 +0300
commit32256c7b2b6de429b29d8daf137be7a2c82b656a (patch)
treed197b079c87768469bf8af2b0a1472826388bec4
parentcf7edc2a6ea95e0acc574c5364bf6f729b53e492 (diff)
downloademacs-32256c7b2b6de429b29d8daf137be7a2c82b656a.tar.gz
emacs-32256c7b2b6de429b29d8daf137be7a2c82b656a.zip
Fix a typo in comment from 2011-09-15T15:41:03Z!eliz@gnu.org.
-rw-r--r--src/xdisp.c6
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,