[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/indent.c
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/indent.c |
Date: |
Tue, 16 Nov 2004 09:27:34 -0500 |
Index: emacs/src/indent.c
diff -c emacs/src/indent.c:1.166 emacs/src/indent.c:1.167
*** emacs/src/indent.c:1.166 Sun Nov 14 04:13:54 2004
--- emacs/src/indent.c Tue Nov 16 14:21:37 2004
***************
*** 2070,2079 ****
we end up with the iterator placed at where it thinks X is 0,
while the end position is really at some X > 0, the same X that
PT had. */
! reseat_at_previous_visible_line_start (&it);
! it.current_x = it.hpos = 0;
! move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
! it.vpos = 0;
if (XINT (lines) != 0)
move_it_by_lines (&it, XINT (lines), 0);
--- 2070,2084 ----
we end up with the iterator placed at where it thinks X is 0,
while the end position is really at some X > 0, the same X that
PT had. */
! if (XINT (lines) < 0)
! {
! reseat_at_previous_visible_line_start (&it);
! it.current_x = it.hpos = 0;
! move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
! it.vpos = 0;
! }
! else
! move_it_by_lines (&it, 0, 0);
if (XINT (lines) != 0)
move_it_by_lines (&it, XINT (lines), 0);
- [Emacs-diffs] Changes to emacs/src/indent.c, Richard M . Stallman, 2004/11/13
- [Emacs-diffs] Changes to emacs/src/indent.c,
Kim F . Storm <=
- [Emacs-diffs] Changes to emacs/src/indent.c, Richard M . Stallman, 2004/11/16
- [Emacs-diffs] Changes to emacs/src/indent.c, Kim F . Storm, 2004/11/18
- [Emacs-diffs] Changes to emacs/src/indent.c, Kim F . Storm, 2004/11/19
- [Emacs-diffs] Changes to emacs/src/indent.c, Kim F . Storm, 2004/11/21
- [Emacs-diffs] Changes to emacs/src/indent.c, Stefan Monnier, 2004/11/23