[Top][All Lists]
[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);
- [Emacs-diffs] Changes to emacs/src/indent.c,v, Chong Yidong, 2008/09/02
- [Emacs-diffs] Changes to emacs/src/indent.c,v, Kenichi Handa, 2008/09/08
- [Emacs-diffs] Changes to emacs/src/indent.c,v, Kenichi Handa, 2008/09/12
- [Emacs-diffs] Changes to emacs/src/indent.c,v,
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/src/indent.c,v, Chong Yidong, 2008/09/17