[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/window.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/window.c |
Date: |
Sat, 30 Mar 2002 18:49:39 -0500 |
Index: emacs/src/window.c
diff -c emacs/src/window.c:1.409 emacs/src/window.c:1.410
*** emacs/src/window.c:1.409 Tue Mar 26 04:09:56 2002
--- emacs/src/window.c Sat Mar 30 18:49:39 2002
***************
*** 4154,4160 ****
in the scroll margin at the top. */
move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
while (it.current_y < this_scroll_margin)
! move_it_by_lines (&it, 1, 1);
SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));
}
else if (n < 0)
--- 4154,4165 ----
in the scroll margin at the top. */
move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
while (it.current_y < this_scroll_margin)
! {
! int prev = it.current_y;
! move_it_by_lines (&it, 1, 1);
! if (prev == it.current_y)
! break;
! }
SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));
}
else if (n < 0)