Commit 757664a4 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Improve on previous change in xdisp.c.

parent 97bb72a6
2011-08-08 Eli Zaretskii <>
* xdisp.c (forward_to_next_line_start): Allow to use the
no-display-properties-and-no-overlays under bidi display.
no-display-properties-and-no-overlays under bidi display. Set
disp_pos in the bidi iterator to avoid searches for display
properties and overlays.
2011-08-08 Chong Yidong <>
......@@ -5551,6 +5551,14 @@ forward_to_next_line_start (struct it *it, int *skipped_p,
struct bidi_it bprev;
/* Help bidi.c avoid expensive searches for display
properties and overlays, by telling it that there are
none up to `limit'. */
if (it->bidi_it.disp_pos < limit)
it->bidi_it.disp_pos = limit;
it->bidi_it.disp_prop_p = 0;
do {
bprev = it->bidi_it;
bidi_move_to_visually_next (&it->bidi_it);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment