Fix bug #14575 with window-specific overlays with display props.
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Jun 2013 18:28:36 +0000 (21:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Jun 2013 18:28:36 +0000 (21:28 +0300)
commit5bf97bfc6730fa2a4ca187cadbb689d79178eafc
treec9d5b7044991216bc3b8e5b50a49ba66537d245d
parentb33f93eea9ddf94aaa4c48b9c057a58b8fa2b6c9
Fix bug #14575 with window-specific overlays with display props.

 src/bidi.c (bidi_fetch_char): Accept additional argument, the window
 being displayed, and pass it to compute_display_string_pos.
 (bidi_level_of_next_char, bidi_resolve_explicit_1)
 (bidi_paragraph_init): All callers changed.
 src/xdisp.c (init_from_display_pos, init_iterator)
 (handle_single_display_spec, next_overlay_string)
 (get_overlay_strings_1, reseat_1, reseat_to_string)
 (push_prefix_prop, Fcurrent_bidi_paragraph_direction): Set
 bidi_it.w member from it->w.
 (compute_display_string_pos): Accept additional argument, the
 window being displayed, and pass it to Fget_char_property.
 src/dispextern.h (struct bidi_it): New member w, the window being
 displayed.
 (compute_display_string_pos): Adjust prototype.
src/ChangeLog
src/bidi.c
src/dispextern.h
src/xdisp.c