diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index fa9854da763..940db9ced31 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12006,8 +12006,9 @@ try_window (window, pos) | |||
| 12006 | } | 12006 | } |
| 12007 | else | 12007 | else |
| 12008 | { | 12008 | { |
| 12009 | w->window_end_bytepos = 0; | 12009 | w->window_end_bytepos = Z_BYTE - ZV_BYTE; |
| 12010 | w->window_end_pos = w->window_end_vpos = make_number (0); | 12010 | w->window_end_pos = make_number (Z - ZV); |
| 12011 | w->window_end_vpos = make_number (0); | ||
| 12011 | } | 12012 | } |
| 12012 | 12013 | ||
| 12013 | /* But that is not valid info until redisplay finishes. */ | 12014 | /* But that is not valid info until redisplay finishes. */ |
| @@ -12220,8 +12221,9 @@ try_window_reusing_current_matrix (w) | |||
| 12220 | else | 12221 | else |
| 12221 | { | 12222 | { |
| 12222 | /* This window must be completely empty. */ | 12223 | /* This window must be completely empty. */ |
| 12223 | w->window_end_bytepos = 0; | 12224 | w->window_end_bytepos = Z_BYTE - ZV_BYTE; |
| 12224 | w->window_end_pos = w->window_end_vpos = make_number (0); | 12225 | w->window_end_pos = make_number (Z - ZV); |
| 12226 | w->window_end_vpos = make_number (0); | ||
| 12225 | } | 12227 | } |
| 12226 | w->window_end_valid = Qnil; | 12228 | w->window_end_valid = Qnil; |
| 12227 | 12229 | ||