Commit ccbf309c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.

 src/xdisp.c (pos_visible_p): Fix last change.
parent 27d1f87a
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> 2012-05-13 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we * 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, ...@@ -1313,7 +1313,7 @@ pos_visible_p (struct window *w, EMACS_INT charpos, int *x, int *y,
visible_p = bottom_y > window_top_y; visible_p = bottom_y > window_top_y;
else if (top_y < it.last_visible_y) else if (top_y < it.last_visible_y)
visible_p = 1; 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.bidi_p && it.bidi_it.scan_dir == -1
&& IT_CHARPOS (it) < charpos) && IT_CHARPOS (it) < charpos)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment