(try_window, try_window_reusing_current_matrix):

When at end of window, set window_end_pos to Z-ZV.
This commit is contained in:
Richard M. Stallman
2003-04-16 05:09:36 +00:00
parent c87426c597
commit 86bf3faa7a

View File

@@ -12006,8 +12006,9 @@ try_window (window, pos)
}
else
{
w->window_end_bytepos = 0;
w->window_end_pos = w->window_end_vpos = make_number (0);
w->window_end_bytepos = Z_BYTE - ZV_BYTE;
w->window_end_pos = make_number (Z - ZV);
w->window_end_vpos = make_number (0);
}
/* But that is not valid info until redisplay finishes. */
@@ -12220,8 +12221,9 @@ try_window_reusing_current_matrix (w)
else
{
/* This window must be completely empty. */
w->window_end_bytepos = 0;
w->window_end_pos = w->window_end_vpos = make_number (0);
w->window_end_bytepos = Z_BYTE - ZV_BYTE;
w->window_end_pos = make_number (Z - ZV);
w->window_end_vpos = make_number (0);
}
w->window_end_valid = Qnil;