diff options
| author | Kim F. Storm | 2006-04-20 08:46:56 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-04-20 08:46:56 +0000 |
| commit | 60923c42fbb55e90ee61328af7aeb407219a978a (patch) | |
| tree | 38cd3ae34a6cb39d429bac8e39cd1d589b9d2a37 | |
| parent | bdb60d06303a98eb7d1c31dd3f68e5e79fe006cb (diff) | |
| download | emacs-60923c42fbb55e90ee61328af7aeb407219a978a.tar.gz emacs-60923c42fbb55e90ee61328af7aeb407219a978a.zip | |
* xdisp.c (redisplay_window): Fix last change.
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index db987ad5a90..5e6d5277a2b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12689,8 +12689,6 @@ redisplay_window (window, just_this_one_p) | |||
| 12689 | /* IT may overshoot PT if text at PT is invisible. */ | 12689 | /* IT may overshoot PT if text at PT is invisible. */ |
| 12690 | else if (IT_CHARPOS (it) > PT && CHARPOS (startp) <= PT) | 12690 | else if (IT_CHARPOS (it) > PT && CHARPOS (startp) <= PT) |
| 12691 | w->force_start = Qt; | 12691 | w->force_start = Qt; |
| 12692 | |||
| 12693 | |||
| 12694 | } | 12692 | } |
| 12695 | 12693 | ||
| 12696 | /* Handle case where place to start displaying has been specified, | 12694 | /* Handle case where place to start displaying has been specified, |
| @@ -12882,7 +12880,9 @@ redisplay_window (window, just_this_one_p) | |||
| 12882 | if (CHARPOS (startp) > BEG + BEG_UNCHANGED | 12880 | if (CHARPOS (startp) > BEG + BEG_UNCHANGED |
| 12883 | && CHARPOS (startp) <= Z - END_UNCHANGED) | 12881 | && CHARPOS (startp) <= Z - END_UNCHANGED) |
| 12884 | { | 12882 | { |
| 12885 | centering_position = 0; | 12883 | /* There doesn't seems to be a simple way to find a new |
| 12884 | window start that is near the old window start, so | ||
| 12885 | we just recenter. */ | ||
| 12886 | goto recenter; | 12886 | goto recenter; |
| 12887 | } | 12887 | } |
| 12888 | } | 12888 | } |