diff options
author | Kim F. Storm <storm@cua.dk> | 2004-11-19 09:44:14 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2004-11-19 09:44:14 +0000 |
commit | 6ba61dee4f970781886e5034a472319c546daa29 (patch) | |
tree | 96735b66dab8593685d9ff6369fbd1c8f978e0a4 /src/indent.c | |
parent | 17e56e3727944279d721c12bc3648a2a552fdcfc (diff) | |
download | emacs-6ba61dee4f970781886e5034a472319c546daa29.tar.gz |
(Fvertical_motion): Fix last change.
Diffstat (limited to 'src/indent.c')
-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. */) /* Move back if we got too far. This may happen if truncate-lines is on and PT is beyond right margin. */ - if (IT_CHARPOS (it) > PT && XINT (lines) > 0) + if (IT_CHARPOS (it) > PT && it.vpos > 0 && XINT (lines) > 0) move_it_by_lines (&it, -1, 0); it.vpos = 0; |