diff options
| author | Andreas Schwab | 2008-03-28 17:24:51 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-03-28 17:24:51 +0000 |
| commit | 4c92f4298ed4022aed7ca782076b22c9be96f605 (patch) | |
| tree | ac649eac44bd0ecb172ffc2e4234a60f5f9a1460 /src | |
| parent | c6de7e54d86710b25b5f7c7566ef9b4d90a7b4a4 (diff) | |
| download | emacs-4c92f4298ed4022aed7ca782076b22c9be96f605.tar.gz emacs-4c92f4298ed4022aed7ca782076b22c9be96f605.zip | |
(Fmove_to_column): Move declaration before statements.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/indent.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d0a9dbb89a8..391ea05e7aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-03-28 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * indent.c (Fmove_to_column): Move declaration before statements. | ||
| 4 | |||
| 1 | 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * frame.h (enum fullscreen_type): Give it a name. Move it before use. | 7 | * frame.h (enum fullscreen_type): Give it a name. Move it before use. |
diff --git a/src/indent.c b/src/indent.c index 5480cae2489..9ac4478bf57 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1038,10 +1038,11 @@ The return value is the current column. */) | |||
| 1038 | and scan through it again. */ | 1038 | and scan through it again. */ |
| 1039 | if (!NILP (force) && col > goal) | 1039 | if (!NILP (force) && col > goal) |
| 1040 | { | 1040 | { |
| 1041 | int c; | ||
| 1041 | EMACS_INT pos_byte = PT_BYTE; | 1042 | EMACS_INT pos_byte = PT_BYTE; |
| 1042 | DEC_POS (pos_byte); | ||
| 1043 | int c = FETCH_CHAR (pos_byte); | ||
| 1044 | 1043 | ||
| 1044 | DEC_POS (pos_byte); | ||
| 1045 | c = FETCH_CHAR (pos_byte); | ||
| 1045 | if (c == '\t' && prev_col < goal) | 1046 | if (c == '\t' && prev_col < goal) |
| 1046 | { | 1047 | { |
| 1047 | EMACS_INT goal_pt, goal_pt_byte; | 1048 | EMACS_INT goal_pt, goal_pt_byte; |