changeset 55311:d5519e60c9c6

(compute_motion): Save vpos in prev_vpos when dealing with continuation lines, too.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 02 May 2004 16:57:32 +0000
parents c6265ea76363
children 3b7a4fa9b2d8
files src/ChangeLog src/indent.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun May 02 16:48:20 2004 +0000
+++ b/src/ChangeLog	Sun May 02 16:57:32 2004 +0000
@@ -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'.
--- a/src/indent.c	Sun May 02 16:48:20 2004 +0000
+++ b/src/indent.c	Sun May 02 16:57:32 2004 +0000
@@ -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 @@
 	      vpos++;
 	      contin_hpos = prev_hpos;
 	      prev_hpos = 0;
+	      prev_vpos = vpos;
 	    }
 	}