From: Stefan Monnier Date: Sun, 2 May 2004 16:57:32 +0000 (+0000) Subject: (compute_motion): Save vpos in prev_vpos when dealing X-Git-Tag: ttn-vms-21-2-B4~6458 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cbc951e92e9a915268c205628a698599e409ad8;p=emacs.git (compute_motion): Save vpos in prev_vpos when dealing with continuation lines, too. --- diff --git a/src/ChangeLog b/src/ChangeLog index d52a53852f1..dc9512d68d3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-05-02 Romain Francoise (tiny change) + + * indent.c (compute_motion): Save vpos in prev_vpos when dealing + with continuation lines, too. + 2004-05-02 Thien-Thi Nguyen * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. diff --git a/src/indent.c b/src/indent.c index 2651d4d7c06..091c702ac2c 100644 --- a/src/indent.c +++ b/src/indent.c @@ -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; } }