changeset 77069:50bb3d12f1b1

(Fmove_to_column): Set next_boundary with correct start pt.
author Richard M. Stallman <rms@gnu.org>
date Sun, 08 Apr 2007 23:59:19 +0000
parents 1ab9d1057ad0
children 30a1b18d6953
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Sun Apr 08 22:02:42 2007 +0000
+++ b/src/indent.c	Sun Apr 08 23:59:19 2007 +0000
@@ -951,7 +951,6 @@
   pos = PT;
   pos_byte = PT_BYTE;
   end = ZV;
-  next_boundary = pos;
 
   /* If we're starting past the desired column,
      back up to beginning of line and scan from there.  */
@@ -963,6 +962,8 @@
       col = 0;
     }
 
+  next_boundary = pos;
+
   while (pos < end)
     {
       while (pos == next_boundary)