# HG changeset patch # User Kim F. Storm # Date 1145522816 0 # Node ID 59e9f1a3c6f17610ad6d8d666ad2385b24511dd8 # Parent e995f119c329bd220f597d8f5f5811a8efe06c61 * xdisp.c (redisplay_window): Fix last change. diff -r e995f119c329 -r 59e9f1a3c6f1 src/xdisp.c --- a/src/xdisp.c Thu Apr 20 08:46:37 2006 +0000 +++ b/src/xdisp.c Thu Apr 20 08:46:56 2006 +0000 @@ -12689,8 +12689,6 @@ /* IT may overshoot PT if text at PT is invisible. */ else if (IT_CHARPOS (it) > PT && CHARPOS (startp) <= PT) w->force_start = Qt; - - } /* Handle case where place to start displaying has been specified, @@ -12882,7 +12880,9 @@ if (CHARPOS (startp) > BEG + BEG_UNCHANGED && CHARPOS (startp) <= Z - END_UNCHANGED) { - centering_position = 0; + /* There doesn't seems to be a simple way to find a new + window start that is near the old window start, so + we just recenter. */ goto recenter; } }