(compute_motion): Save vpos in prev_vpos when dealing
with continuation lines, too.
This commit is contained in:
parent
37384edefe
commit
6cbc951e92
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-02 Romain Francoise <romain@orebokech.com> (tiny change)
|
||||
|
||||
* indent.c (compute_motion): Save vpos in prev_vpos when dealing
|
||||
with continuation lines, too.
|
||||
|
||||
2004-05-02 Thien-Thi Nguyen <ttn@gnu.org>
|
||||
|
||||
* syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Indentation functions.
|
||||
Copyright (C) 1985,86,87,88,93,94,95,98,2000,01,02,2003
|
||||
Copyright (C) 1985,86,87,88,93,94,95,98,2000,01,02,03,2004
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Emacs.
|
||||
|
@ -1407,6 +1407,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
|
|||
vpos++;
|
||||
contin_hpos = prev_hpos;
|
||||
prev_hpos = 0;
|
||||
prev_vpos = vpos;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue