emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103905: Fix bug #8487 with invisible


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103905: Fix bug #8487 with invisible text at EOB under bidi.
Date: Wed, 13 Apr 2011 20:43:38 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103905 [merge]
fixes bug(s): http://debbugs.gnu.org/8487
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Wed 2011-04-13 20:43:38 +0300
message:
  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.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-04-12 10:20:32 +0000
+++ b/src/ChangeLog     2011-04-13 17:43:38 +0000
@@ -1,3 +1,8 @@
+2011-04-13  Eli Zaretskii  <address@hidden>
+
+       * xdisp.c (handle_invisible_prop): Don't call bidi_paragraph_init
+       when at ZV.  (Bug#8487)
+
 2011-04-12  Andreas Schwab  <address@hidden>
 
        * charset.c (Fclear_charset_maps): Use xfree instead of free.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-04-11 16:39:09 +0000
+++ b/src/xdisp.c       2011-04-13 17:43:38 +0000
@@ -3660,7 +3660,7 @@
                 _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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]