[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/intervals.c
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/intervals.c |
Date: |
Tue, 23 May 2006 00:49:55 +0000 |
Index: emacs/src/intervals.c
diff -u emacs/src/intervals.c:1.134 emacs/src/intervals.c:1.135
--- emacs/src/intervals.c:1.134 Sun May 14 21:53:45 2006
+++ emacs/src/intervals.c Tue May 23 00:49:55 2006
@@ -2016,6 +2016,10 @@
register INTERVAL to, from, toprev, fromprev;
int buffer_point;
int old_position = BUF_PT (buffer);
+ /* This ensures that we move forward past intangible text when the
+ initial position is the same as the destination, in the rare
+ instances where this is important, e.g. in line-move-finish
+ (simple.el). */
int backwards = (charpos < old_position ? 1 : 0);
int have_overlays;
int original_position;