Fix bug #7038 with cursor motion in paragraphs w/o strong characters.
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Sep 2010 11:59:53 +0000 (13:59 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Sep 2010 11:59:53 +0000 (13:59 +0200)
commitbea4f10c834af9eee873e16913897bbf8065b52e
tree78a59c0d087cb1c5f0f1e27baeaa557656b286ad
parent88ed5ce8a653a870fd4f723ee550ffbb0f90626b
Fix bug #7038 with cursor motion in paragraphs w/o strong characters.

 xdisp.c (Fcurrent_bidi_paragraph_direction): Call
 bidi_paragraph_init with NO_DEFAULT_P non-zero.
 bidi.c (bidi_paragraph_init): Accept an additional argument
 NO_DEFAULT_P; all callers changed.  If NO_DEFAULT_P is non-zero,
 search back until a paragraph with a strong directional character
 is found, and use that to determine paragraph's base direction.
 dispextern.h (bidi_paragraph_init): Update prototype.
src/ChangeLog
src/bidi.c
src/dispextern.h
src/xdisp.c