diff options
| author | Stefan Monnier | 2004-05-02 16:57:32 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-05-02 16:57:32 +0000 |
| commit | 6cbc951e92e9a915268c205628a698599e409ad8 (patch) | |
| tree | fec4d0f0cfba1b7b894e20115a9754193eeaac90 /src | |
| parent | 37384edefed1cbe52d4700ac44cb6e3cc4303279 (diff) | |
| download | emacs-6cbc951e92e9a915268c205628a698599e409ad8.tar.gz emacs-6cbc951e92e9a915268c205628a698599e409ad8.zip | |
(compute_motion): Save vpos in prev_vpos when dealing
with continuation lines, too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/indent.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d52a53852f1..dc9512d68d3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-05-02 Romain Francoise <romain@orebokech.com> (tiny change) | ||
| 2 | |||
| 3 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | ||
| 4 | with continuation lines, too. | ||
| 5 | |||
| 1 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> | 6 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
| 2 | 7 | ||
| 3 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | 8 | * 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 @@ | |||
| 1 | /* Indentation functions. | 1 | /* Indentation functions. |
| 2 | Copyright (C) 1985,86,87,88,93,94,95,98,2000,01,02,2003 | 2 | Copyright (C) 1985,86,87,88,93,94,95,98,2000,01,02,03,2004 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -1407,6 +1407,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1407 | vpos++; | 1407 | vpos++; |
| 1408 | contin_hpos = prev_hpos; | 1408 | contin_hpos = prev_hpos; |
| 1409 | prev_hpos = 0; | 1409 | prev_hpos = 0; |
| 1410 | prev_vpos = vpos; | ||
| 1410 | } | 1411 | } |
| 1411 | } | 1412 | } |
| 1412 | 1413 | ||