diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-05-15 19:17:42 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-05-15 19:17:42 +0300 |
commit | ccbf309ce0aa34ef55405945ed29db41250aa34e (patch) | |
tree | bb413130f40ae9362ab2a03d85f228d1cadce689 | |
parent | 27d1f87a35539846cc11238f1feaa6b7e6138775 (diff) | |
download | emacs-ccbf309ce0aa34ef55405945ed29db41250aa34e.tar.gz |
Fix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.
src/xdisp.c (pos_visible_p): Fix last change.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2f3643f4f80..2a7f8e2958f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/xdisp.c b/src/xdisp.c index a2c4589766d..e8253c714e3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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) { |