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: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Wed, 08 Sep 2004 08:34:00 -0400

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.905 emacs/src/xdisp.c:1.906
*** emacs/src/xdisp.c:1.905     Tue Sep  7 20:51:16 2004
--- emacs/src/xdisp.c   Wed Sep  8 11:37:16 2004
***************
*** 10709,10715 ****
                      (pos == 0   /* From overlay */
                       || pos == pt_old)))
                {
!                 cursor_from_overlay_pos = pos == 0 ? last_pos : 0;
                  cursor = glyph;
                  cursor_x = x;
                }
--- 10709,10720 ----
                      (pos == 0   /* From overlay */
                       || pos == pt_old)))
                {
!                 /* Estimate overlay buffer position from the buffer
!                    positions of the glyphs before and after the overlay.
!                    Add 1 to last_pos so that if point corresponds to the
!                    glyph right after the overlay, we still use a 'cursor'
!                    property found in that overlay.  */
!                 cursor_from_overlay_pos = pos == 0 ? last_pos+1 : 0;
                  cursor = glyph;
                  cursor_x = x;
                }




reply via email to

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