diff 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
line wrap: on
line diff
--- a/src/xdisp.c	Thu Mar 09 01:23:04 2006 +0000
+++ b/src/xdisp.c	Thu Mar 09 07:15:37 2006 +0000
@@ -3661,8 +3661,11 @@
                  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);
             }
 	}