Fix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.
src/xdisp.c (pos_visible_p): Fix last change.
This commit is contained in:
parent
27d1f87a35
commit
ccbf309ce0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-05-15 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (pos_visible_p): Fix last change. (Bug#11464)
|
||||
|
||||
2012-05-13 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
|
||||
|
|
|
@ -1313,7 +1313,7 @@ pos_visible_p (struct window *w, EMACS_INT charpos, int *x, int *y,
|
|||
visible_p = bottom_y > window_top_y;
|
||||
else if (top_y < it.last_visible_y)
|
||||
visible_p = 1;
|
||||
if (bottom_y >= it.last_visible_y
|
||||
if (bottom_y <= it.last_visible_y
|
||||
&& it.bidi_p && it.bidi_it.scan_dir == -1
|
||||
&& IT_CHARPOS (it) < charpos)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue