diff options
| -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 | } |