Index: emacs/src/window.c
diff -c emacs/src/window.c:1.510 emacs/src/window.c:1.511
*** emacs/src/window.c:1.510 Thu Jul 7 09:33:29 2005
--- emacs/src/window.c Thu Jul 7 09:36:18 2005
***************
*** 5453,5459 ****
{
struct position pos;
- iarg = XINT (arg);
iarg = max (iarg, this_scroll_margin);
pos = *vmotion (PT, -iarg, w);
--- 5453,5458 ----
***************
*** 5468,5477 ****
if (center_p)
iarg = make_number (ht / 2);
! else if (XINT (arg) < 0)
! iarg = XINT (arg) + ht;
! else
! iarg = XINT (arg);
/* Don't let it get into the margin at either top or bottom. */
iarg = max (iarg, this_scroll_margin);
--- 5467,5474 ----
if (center_p)
iarg = make_number (ht / 2);
! else if (iarg < 0)
! iarg += ht;
/* Don't let it get into the margin at either top or bottom. */
iarg = max (iarg, this_scroll_margin);
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs