(Fmove_to_column): Move declaration before statements.

This commit is contained in:
Andreas Schwab 2008-03-28 17:24:51 +00:00
parent c6de7e54d8
commit 4c92f4298e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2008-03-28 Andreas Schwab <schwab@suse.de>
* indent.c (Fmove_to_column): Move declaration before statements.
2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
* frame.h (enum fullscreen_type): Give it a name. Move it before use.

View file

@ -1038,10 +1038,11 @@ The return value is the current column. */)
and scan through it again. */
if (!NILP (force) && col > goal)
{
int c;
EMACS_INT pos_byte = PT_BYTE;
DEC_POS (pos_byte);
int c = FETCH_CHAR (pos_byte);
DEC_POS (pos_byte);
c = FETCH_CHAR (pos_byte);
if (c == '\t' && prev_col < goal)
{
EMACS_INT goal_pt, goal_pt_byte;