A better fix for bug #11464 with pos-visible-in-window-p and R2L text.
commit44e27368281d4078a83c55003454d76683ddaad4
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2012 12:14:11 +0000 (19 15:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2012 12:14:11 +0000 (19 15:14 +0300)
tree018b28804a9e191f149545f4f13e52a644e9b5dc
parentf467fdc6f924765fde80ac50da08e8a49ad191eb
A better fix for bug #11464 with pos-visible-in-window-p and R2L text.

 src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
 state after an additional call to move_it_in_display_line_to, keep
 the values of it->max_ascent and it->max_descent found for the
 entire line.
 (pos_visible_p): Revert the comparison against bottom_y to what it
 was in 2012-05-13T18:22:35Z!eliz@gnu.org.
src/ChangeLog
src/xdisp.c