it->dpvec = NULL;
it->current.dpvec_index = -1;
+ /* Use face of preceding text for ellipsis (if invisible) */
+ if (it->selective_display_ellipsis_p)
+ it->saved_face_id = it->face_id;
+
do
{
handled = HANDLED_NORMALLY;
it->current.dpvec_index = 0;
it->dpvec_face_id = -1;
+#if 0 /* Already saved in handle_stop */
/* Remember the current face id in case glyphs specify faces.
IT's face is restored in set_iterator_to_next. */
it->saved_face_id = it->face_id;
+#endif
+
it->method = GET_FROM_DISPLAY_VECTOR;
it->ellipsis_p = 1;
}
/* Precondition. */
xassert (it->dpvec && it->current.dpvec_index >= 0);
+ it->face_id = it->saved_face_id;
+
if (INTEGERP (*it->dpvec)
&& GLYPH_CHAR_VALID_P (XFASTINT (*it->dpvec)))
{