Commit 45b5f35d authored by Chong Yidong's avatar Chong Yidong

* xdisp.c (handle_invisible_prop): Don't update it->position with

	a buffer position if we're in a display string.
parent 881909b0
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)
......
......@@ -3658,8 +3658,11 @@ handle_invisible_prop (it)
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);
}
}
......
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