Mercurial > emacs
changeset 70127:59e9f1a3c6f1
* xdisp.c (redisplay_window): Fix last change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 20 Apr 2006 08:46:56 +0000 |
parents | e995f119c329 |
children | 404967fdf7c4 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; } }