Mercurial > emacs
comparison src/xdisp.c @ 99156:68babdd93bd3
Perform last revert properly.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 27 Oct 2008 05:40:18 +0000 |
parents | 205d4e040316 |
children | 5421f3e36aca |
comparison
equal
deleted
inserted
replaced
99155:af27cd9e080e | 99156:68babdd93bd3 |
---|---|
12685 { | 12685 { |
12686 /* Point is in the scroll margin at the bottom of the | 12686 /* Point is in the scroll margin at the bottom of the |
12687 window, or below. Compute the distance from the scroll | 12687 window, or below. Compute the distance from the scroll |
12688 margin to PT, and give up if the distance is greater than | 12688 margin to PT, and give up if the distance is greater than |
12689 scroll_max. */ | 12689 scroll_max. */ |
12690 move_it_to (&it, PT, -1, it.last_visible_y - 1, -1, | 12690 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); |
12691 MOVE_TO_POS | MOVE_TO_Y); | |
12692 | 12691 |
12693 /* To make point visible, we must move the window start down | 12692 /* To make point visible, we must move the window start down |
12694 so that the cursor line is visible, which means we have | 12693 so that the cursor line is visible, which means we have |
12695 to add in the height of the cursor line. */ | 12694 to add in the height of the cursor line. */ |
12696 dy = line_bottom_y (&it) - scroll_margin_y; | 12695 dy = line_bottom_y (&it) - scroll_margin_y; |