emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/indent.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/indent.c,v
Date: Wed, 17 Sep 2008 20:29:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/09/17 20:29:04

Index: indent.c
===================================================================
RCS file: /sources/emacs/emacs/src/indent.c,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -b -r1.216 -r1.217
--- indent.c    12 Sep 2008 06:13:36 -0000      1.216
+++ indent.c    17 Sep 2008 20:29:04 -0000      1.217
@@ -2109,7 +2109,7 @@
        }
       else
        {
-         if (IT_CHARPOS (it) > PT)
+         if (IT_CHARPOS (it) > it_start)
            {
              /* IT may move too far if truncate-lines is on and PT
                 lies beyond the right margin.  In that case,
@@ -2135,7 +2135,7 @@
                 from the last line that it occupies.  */
              if (PT < ZV)
                {
-                 while (IT_CHARPOS (it) <= PT)
+                 while (IT_CHARPOS (it) <= it_start)
                    {
                      it.vpos = 0;
                      move_it_by_lines (&it, 1, 0);




reply via email to

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