diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 97ffe12775e..f4bf9a92cc4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-12-15 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (redisplay_window) <optional new window start>: Check | ||
| 4 | that window start is in [BEGV..ZV]. | ||
| 5 | |||
| 1 | 1999-12-15 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 1999-12-15 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR) | 8 | * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR) |
diff --git a/src/xdisp.c b/src/xdisp.c index a88f9893c51..df01be46a0a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -8625,7 +8625,9 @@ redisplay_window (window, just_this_one_p) | |||
| 8625 | 8625 | ||
| 8626 | /* If someone specified a new starting point but did not insist, | 8626 | /* If someone specified a new starting point but did not insist, |
| 8627 | check whether it can be used. */ | 8627 | check whether it can be used. */ |
| 8628 | if (!NILP (w->optional_new_start)) | 8628 | if (!NILP (w->optional_new_start) |
| 8629 | && CHARPOS (startp) >= BEGV | ||
| 8630 | && CHARPOS (startp) <= ZV) | ||
| 8629 | { | 8631 | { |
| 8630 | w->optional_new_start = Qnil; | 8632 | w->optional_new_start = Qnil; |
| 8631 | /* This takes a mini-buffer prompt into account. */ | 8633 | /* This takes a mini-buffer prompt into account. */ |