diff options
| author | Eli Zaretskii | 2011-04-13 20:43:38 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-04-13 20:43:38 +0300 |
| commit | c0ece6a5c4c8dc87be1da6808289c88de19d8398 (patch) | |
| tree | ae46cdb9e7f62984b7002a610b05bc660fc76143 /src | |
| parent | 06641a4768b86697dc495459a01431c0f61041d3 (diff) | |
| parent | a6744a352fc06e9a303264d64a904596475fe2d1 (diff) | |
| download | emacs-c0ece6a5c4c8dc87be1da6808289c88de19d8398.tar.gz emacs-c0ece6a5c4c8dc87be1da6808289c88de19d8398.zip | |
Fix bug #8487 with invisible text at 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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 211625ee446..d2c95aee4c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-04-12 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2011-04-12 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * charset.c (Fclear_charset_maps): Use xfree instead of free. | 8 | * charset.c (Fclear_charset_maps): Use xfree instead of free. |
diff --git a/src/xdisp.c b/src/xdisp.c index fc9771b6a7e..2a6e85732c0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3660,7 +3660,7 @@ handle_invisible_prop (struct it *it) | |||
| 3660 | _after_ bidi iteration avoids affecting the visual | 3660 | _after_ bidi iteration avoids affecting the visual |
| 3661 | order of the displayed text when invisible properties | 3661 | order of the displayed text when invisible properties |
| 3662 | are added or removed. */ | 3662 | are added or removed. */ |
| 3663 | if (it->bidi_it.first_elt) | 3663 | if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) |
| 3664 | { | 3664 | { |
| 3665 | /* If we were `reseat'ed to a new paragraph, | 3665 | /* If we were `reseat'ed to a new paragraph, |
| 3666 | determine the paragraph base direction. We need | 3666 | determine the paragraph base direction. We need |