aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2011-04-13 20:41:04 +0300
committerEli Zaretskii2011-04-13 20:41:04 +0300
commita6744a352fc06e9a303264d64a904596475fe2d1 (patch)
tree684a807bee727922db191272d50c8f10c0436005 /src
parent11997c7643812a3a6f95da1c65c46d1c0307e2a7 (diff)
downloademacs-a6744a352fc06e9a303264d64a904596475fe2d1.tar.gz
emacs-a6744a352fc06e9a303264d64a904596475fe2d1.zip
Fix bug #8487 with invisible property near EOB under bidi.
src/xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init when at ZV.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c164c6b5f58..4c564d214de 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-04-13 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init
4 when at ZV. (Bug#8487)
5
12011-04-11 Eli Zaretskii <eliz@gnu.org> 62011-04-11 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (redisplay_window): Don't try to determine the character 8 * xdisp.c (redisplay_window): Don't try to determine the character
diff --git a/src/xdisp.c b/src/xdisp.c
index 2b032bd6597..1cf58edc4c6 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3661,7 +3661,7 @@ handle_invisible_prop (struct it *it)
3661 _after_ bidi iteration avoids affecting the visual 3661 _after_ bidi iteration avoids affecting the visual
3662 order of the displayed text when invisible properties 3662 order of the displayed text when invisible properties
3663 are added or removed. */ 3663 are added or removed. */
3664 if (it->bidi_it.first_elt) 3664 if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV)
3665 { 3665 {
3666 /* If we were `reseat'ed to a new paragraph, 3666 /* If we were `reseat'ed to a new paragraph,
3667 determine the paragraph base direction. We need 3667 determine the paragraph base direction. We need