diff options
| author | Kim F. Storm | 2004-11-19 09:44:14 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-11-19 09:44:14 +0000 |
| commit | 97564b7ef490505baef1651c0ee35c8d52891c31 (patch) | |
| tree | 4e55a18da2661675c488972457ed3df5cecfcc05 /src | |
| parent | cbc34cb39b8524259513831d3cd5383ac788a682 (diff) | |
| download | emacs-97564b7ef490505baef1651c0ee35c8d52891c31.tar.gz emacs-97564b7ef490505baef1651c0ee35c8d52891c31.zip | |
(Fvertical_motion): Fix last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 0b73751a5f7..f4a383b6d07 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -2084,7 +2084,7 @@ whether or not it is currently displayed in some window. */) | |||
| 2084 | 2084 | ||
| 2085 | /* Move back if we got too far. This may happen if | 2085 | /* Move back if we got too far. This may happen if |
| 2086 | truncate-lines is on and PT is beyond right margin. */ | 2086 | truncate-lines is on and PT is beyond right margin. */ |
| 2087 | if (IT_CHARPOS (it) > PT && XINT (lines) > 0) | 2087 | if (IT_CHARPOS (it) > PT && it.vpos > 0 && XINT (lines) > 0) |
| 2088 | move_it_by_lines (&it, -1, 0); | 2088 | move_it_by_lines (&it, -1, 0); |
| 2089 | 2089 | ||
| 2090 | it.vpos = 0; | 2090 | it.vpos = 0; |