1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

Perform last revert properly.

This commit is contained in:
Chong Yidong 2008-10-27 05:40:18 +00:00
parent 6daadc95f9
commit 9f33212acf

View File

@ -12687,8 +12687,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively,
window, or below. Compute the distance from the scroll window, or below. Compute the distance from the scroll
margin to PT, and give up if the distance is greater than margin to PT, and give up if the distance is greater than
scroll_max. */ scroll_max. */
move_it_to (&it, PT, -1, it.last_visible_y - 1, -1, move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
MOVE_TO_POS | MOVE_TO_Y);
/* To make point visible, we must move the window start down /* To make point visible, we must move the window start down
so that the cursor line is visible, which means we have so that the cursor line is visible, which means we have