Mercurial > emacs
diff src/indent.c @ 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 | 0ce9492fa779 |
children | 922696f363b0 dc002877ce12 4ef881a120fe |
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)