Mercurial > emacs
comparison src/xdisp.c @ 90361:a7364c1a561e
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-40
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 135-143)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 49-55)
- Merge from emacs--devo--0
- Update from CVS
- Update from CVS: Makefile.in (release-*): New targets.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 09 Mar 2006 07:15:37 +0000 |
parents | 5754737d1e04 2c8c2aaf3daa |
children | a802c5505156 |
comparison
equal
deleted
inserted
replaced
90360:23b7c43b24ce | 90361:a7364c1a561e |
---|---|
3659 first because this way the cursor is always drawn on | 3659 first because this way the cursor is always drawn on |
3660 the first "." of the ellipsis, whenever PT is inside | 3660 the first "." of the ellipsis, whenever PT is inside |
3661 the invisible text. Otherwise the cursor would be | 3661 the invisible text. Otherwise the cursor would be |
3662 placed _after_ the ellipsis when the point is after the | 3662 placed _after_ the ellipsis when the point is after the |
3663 first invisible character. */ | 3663 first invisible character. */ |
3664 it->position.charpos = IT_CHARPOS (*it) - 1; | 3664 if (!STRINGP (it->object)) |
3665 it->position.bytepos = CHAR_TO_BYTE (it->position.charpos); | 3665 { |
3666 it->position.charpos = IT_CHARPOS (*it) - 1; | |
3667 it->position.bytepos = CHAR_TO_BYTE (it->position.charpos); | |
3668 } | |
3666 setup_for_ellipsis (it, 0); | 3669 setup_for_ellipsis (it, 0); |
3667 } | 3670 } |
3668 } | 3671 } |
3669 } | 3672 } |
3670 | 3673 |