emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xdisp.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c,v
Date: Mon, 27 Oct 2008 05:32:23 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/10/27 05:32:23

Index: xdisp.c
===================================================================
RCS file: /sources/emacs/emacs/src/xdisp.c,v
retrieving revision 1.1265
retrieving revision 1.1266
diff -u -b -r1.1265 -r1.1266
--- xdisp.c     27 Oct 2008 05:15:37 -0000      1.1265
+++ xdisp.c     27 Oct 2008 05:32:22 -0000      1.1266
@@ -12687,7 +12687,8 @@
             window, or below.  Compute the distance from the scroll
             margin to PT, and give up if the distance is greater than
             scroll_max.  */
-         move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
+         move_it_to (&it, PT, -1, it.last_visible_y - 1, -1,
+                     MOVE_TO_POS | MOVE_TO_Y);
 
          /* To make point visible, we must move the window start down
             so that the cursor line is visible, which means we have




reply via email to

[Prev in Thread] Current Thread [Next in Thread]