Fix current-bidi-paragraph-direction wrt window pointer.
authorEli Zaretskii <eliz@gnu.org>
Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 9 Jun 2013 16:49:07 +0000 (19:49 +0300)
commitad257d4f6c67ff216a1944acde6e9cf740922ae8
treee17842bf53653ac545d60690535be4fc5923c6e9
parent52fab9c9b8d690de6e8754995c0027767d356146
Fix current-bidi-paragraph-direction wrt window pointer.

 src/xdisp.c (compute_display_string_pos): When W is NULL, use the current
 buffer as the object to pass to get-char-property.
 (Fcurrent_bidi_paragraph_direction): Assign NULL to the window
 pointer member of the bidi iterator, since no window is pertinent
 to this function.
src/ChangeLog
src/xdisp.c