* src/xdisp.c (try_window): Don't modify the logic when EOB is in
the viewport. (Bug#42653)
seems to give wrong results. We don't want to recenter
when the last line is partly visible, we want to allow
that case to be handled in the usual way. */
- || (it_charpos < ZV /* if EOB is visible, disable bottom margin */
- && w->cursor.y > (it.last_visible_y - partial_line_height (&it)
- - this_scroll_margin - 1)))
+ || w->cursor.y > (it.last_visible_y - partial_line_height (&it)
+ - this_scroll_margin - 1))
{
w->cursor.vpos = -1;
clear_glyph_matrix (w->desired_matrix);