+2008-03-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes.
+ Don't pretend as if characters with display property haven't been
+ consumed for string-replacing-string case.
+
2008-02-29 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (get_overlay_strings_1): Add missing argument type.
`display' property yet. The call to pop_it in
set_iterator_to_next will clean this up. */
if (BUFFERP (object))
- it->current.pos = start_pos;
+ *position = start_pos;
}
else if (CONSP (value) && EQ (XCAR (value), Qspace))
{
it->method = GET_FROM_STRETCH;
it->object = value;
- it->position = start_pos;
- if (BUFFERP (object))
- it->current.pos = start_pos;
+ *position = it->position = start_pos;
}
#ifdef HAVE_WINDOW_SYSTEM
else
/* Say that we haven't consumed the characters with
`display' property yet. The call to pop_it in
set_iterator_to_next will clean this up. */
- if (BUFFERP (object))
- it->current.pos = start_pos;
+ *position = start_pos;
}
#endif /* HAVE_WINDOW_SYSTEM */