[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: |
Tue, 02 Sep 2008 17:29:00 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/09/02 17:28:59
Index: indent.c
===================================================================
RCS file: /sources/emacs/emacs/src/indent.c,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -b -r1.213 -r1.214
--- indent.c 29 Aug 2008 07:56:25 -0000 1.213
+++ indent.c 2 Sep 2008 17:28:59 -0000 1.214
@@ -2128,17 +2128,23 @@
which might span multiple screen lines (e.g., if it's
on a multi-line display string). We want to start
from the last line that it occupies. */
- it.vpos = 0;
if (PT < ZV)
{
while (IT_CHARPOS (it) <= PT)
+ {
+ it.vpos = 0;
move_it_by_lines (&it, 1, 0);
+ }
+ if (XINT (lines) > 1)
move_it_by_lines (&it, XINT (lines) - 1, 0);
}
else
+ {
+ it.vpos = 0;
move_it_by_lines (&it, XINT (lines), 0);
}
}
+ }
/* Move to the goal column, if one was specified. */
if (!NILP (lcols))
- [Emacs-diffs] Changes to emacs/src/indent.c,v,
Chong Yidong <=
- [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, 2008/09/17
- [Emacs-diffs] Changes to emacs/src/indent.c,v, Chong Yidong, 2008/09/17