From 594a1605cd54c3d65dd373b6b4118765398b2aed Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 23 May 2006 00:49:55 +0000 Subject: Update comments. --- src/intervals.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/intervals.c') diff --git a/src/intervals.c b/src/intervals.c index e69ff701387..20c4c191a93 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -2016,6 +2016,10 @@ set_point_both (buffer, charpos, bytepos) 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; -- cgit v1.2.3