diff options
| author | Richard M. Stallman | 2007-04-08 23:59:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-04-08 23:59:33 +0000 |
| commit | 4c669c09ddf8c94339943dea4ae73a90e503709b (patch) | |
| tree | 893a51b84749c60e8414b8b01bb60ff8681b5a4c | |
| parent | 7704b6b1329eecfb27f0d4ecadf15c68205a0cfb (diff) | |
| download | emacs-4c669c09ddf8c94339943dea4ae73a90e503709b.tar.gz emacs-4c669c09ddf8c94339943dea4ae73a90e503709b.zip | |
(Fmove_to_column): Set next_boundary with correct start pt.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/indent.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a28f3c45f2f..0f446131c3f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-04-09 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * indent.c (Fmove_to_column): Set next_boundary with correct start pt. | ||
| 4 | |||
| 1 | 2007-04-08 Richard Stallman <rms@gnu.org> | 5 | 2007-04-08 Richard Stallman <rms@gnu.org> |
| 2 | 6 | ||
| 3 | * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100. | 7 | * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100. |
diff --git a/src/indent.c b/src/indent.c index 828267c3abf..b43120ab560 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -951,7 +951,6 @@ The return value is the current column. */) | |||
| 951 | pos = PT; | 951 | pos = PT; |
| 952 | pos_byte = PT_BYTE; | 952 | pos_byte = PT_BYTE; |
| 953 | end = ZV; | 953 | end = ZV; |
| 954 | next_boundary = pos; | ||
| 955 | 954 | ||
| 956 | /* If we're starting past the desired column, | 955 | /* If we're starting past the desired column, |
| 957 | back up to beginning of line and scan from there. */ | 956 | back up to beginning of line and scan from there. */ |
| @@ -963,6 +962,8 @@ The return value is the current column. */) | |||
| 963 | col = 0; | 962 | col = 0; |
| 964 | } | 963 | } |
| 965 | 964 | ||
| 965 | next_boundary = pos; | ||
| 966 | |||
| 966 | while (pos < end) | 967 | while (pos < end) |
| 967 | { | 968 | { |
| 968 | while (pos == next_boundary) | 969 | while (pos == next_boundary) |