Fix bug #9212 with selective-display under bidi.
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 Aug 2011 17:34:04 +0000 (20:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 Aug 2011 17:34:04 +0000 (20:34 +0300)
commit525d5e6efa89c0435dca8fd80ed31b98fd3deed1
treefda048753b6fa57a09f2c3435184e33189bca967
parentcca09170ad19eb3c357052550765a2788fabbb40
Fix bug #9212 with selective-display under bidi.

 src/xdisp.c (forward_to_next_line_start): Accept additional argument
 BIDI_IT_PREV, and store into it the state of the bidi iterator had
 on the newline.
 (reseat_at_next_visible_line_start): Use the bidi iterator state
 returned by forward_to_next_line_start to restore the state of
 it->bidi_it after backing up to previous newline.  (Bug#9212)
src/ChangeLog
src/xdisp.c