diff options
| author | Richard M. Stallman | 2003-04-16 05:09:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-04-16 05:09:36 +0000 |
| commit | 86bf3faa7aaeb59dc86d3a2640d7aaaa60a01246 (patch) | |
| tree | 442d308a3a2763f6e1036f8a533bc4f1bed89183 | |
| parent | c87426c59712ce4ea5a16ccf7fba96f65b3e7cc4 (diff) | |
| download | emacs-86bf3faa7aaeb59dc86d3a2640d7aaaa60a01246.tar.gz emacs-86bf3faa7aaeb59dc86d3a2640d7aaaa60a01246.zip | |
(try_window, try_window_reusing_current_matrix):
When at end of window, set window_end_pos to Z-ZV.
| -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 | ||