mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 13:40:36 -08:00
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.
This commit is contained in:
parent
11997c7643
commit
a6744a352f
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-04-13 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init
|
||||
when at ZV. (Bug#8487)
|
||||
|
||||
2011-04-11 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (redisplay_window): Don't try to determine the character
|
||||
|
|
|
|||
|
|
@ -3661,7 +3661,7 @@ handle_invisible_prop (struct it *it)
|
|||
_after_ bidi iteration avoids affecting the visual
|
||||
order of the displayed text when invisible properties
|
||||
are added or removed. */
|
||||
if (it->bidi_it.first_elt)
|
||||
if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV)
|
||||
{
|
||||
/* If we were `reseat'ed to a new paragraph,
|
||||
determine the paragraph base direction. We need
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue