a buffer position if we're in a display string.
+2006-03-06 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (handle_invisible_prop): Don't update it->position with
+ a buffer position if we're in a display string.
+
2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH)
the invisible text. Otherwise the cursor would be
placed _after_ the ellipsis when the point is after the
first invisible character. */
- it->position.charpos = IT_CHARPOS (*it) - 1;
- it->position.bytepos = CHAR_TO_BYTE (it->position.charpos);
+ if (!STRINGP (it->object))
+ {
+ it->position.charpos = IT_CHARPOS (*it) - 1;
+ it->position.bytepos = CHAR_TO_BYTE (it->position.charpos);
+ }
setup_for_ellipsis (it, 0);
}
}