diff src/intervals.c @ 70842:8b271981e0c5

Update comments.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 23 May 2006 00:49:55 +0000
parents 089c7a7af5c9
children e90d04cd455a a8190f7e546e
line wrap: on
line diff
--- a/src/intervals.c	Mon May 22 21:50:47 2006 +0000
+++ b/src/intervals.c	Tue May 23 00:49:55 2006 +0000
@@ -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;