emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Mon, 06 Mar 2006 18:41:06 +0000

Index: emacs/src/xdisp.c
diff -u emacs/src/xdisp.c:1.1077 emacs/src/xdisp.c:1.1078
--- emacs/src/xdisp.c:1.1077    Thu Mar  2 21:55:26 2006
+++ emacs/src/xdisp.c   Mon Mar  6 18:41:05 2006
@@ -3658,8 +3658,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);
             }
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]