]> code.delx.au - gnu-emacs/commitdiff
(compute_motion): Save vpos in prev_vpos when dealing
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 May 2004 16:57:32 +0000 (16:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 May 2004 16:57:32 +0000 (16:57 +0000)
with continuation lines, too.

src/ChangeLog
src/indent.c

index d52a53852f1118c9f855fb6fe79dad2fbd49892b..dc9512d68d389b22680a0b5da4d998e32103946b 100644 (file)
@@ -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'.
index 2651d4d7c0696810ec67b6f94ce3249c848c6425..091c702ac2cfd2bd92b8b834083d6d881ec042ef 100644 (file)
@@ -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;
            }
        }