mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(Fvertical_motion): Fix last change.
This commit is contained in:
parent
cbc34cb39b
commit
97564b7ef4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue