emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105789: Fix a typo in comment from r


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105789: Fix a typo in comment from revno 105784.
Date: Thu, 15 Sep 2011 20:37:16 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105789
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-15 20:37:16 +0300
message:
  Fix a typo in comment from revno 105784.
modified:
  src/xdisp.c
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-09-15 16:02:49 +0000
+++ b/src/xdisp.c       2011-09-15 17:37:16 +0000
@@ -6441,6 +6441,8 @@
 
              c = ' ';
              for (i = 0; i < cmp->glyph_len; i++)
+               /* TAB in a composition means display glyphs with
+                  padding space on the left or right.  */
                if ((c = COMPOSITION_GLYPH (cmp, i)) != '\t')
                  break;
            }
@@ -11916,7 +11918,7 @@
                }
              hscroll = max (hscroll, XFASTINT (w->min_hscroll));
 
-             /* Don't will prevent redisplay optimizations if hscroll
+             /* Don't prevent redisplay optimizations if hscroll
                 hasn't changed, as it will unnecessarily slow down
                 redisplay.  */
              if (XFASTINT (w->hscroll) != hscroll)
@@ -21726,6 +21728,8 @@
     {
       int c = COMPOSITION_GLYPH (s->cmp, i);
 
+      /* TAB in a composition means display glyphs with padding space
+        on the left or right.  */
       if (c != '\t')
        {
          int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]