mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
Fix vertical cursor motion when 'visual-line-mode' is in effect
* src/xdisp.c (move_it_in_display_line_to): Fix a logic error made as part of introducing the 'word-wrap-by-category' feature; that error brought back bug#8155.
This commit is contained in:
parent
5142149758
commit
8cb15183aa
1 changed files with 1 additions and 1 deletions
|
|
@ -9532,7 +9532,7 @@ move_it_in_display_line_to (struct it *it,
|
|||
we can't wrap here. Therefore, wrap_it
|
||||
(previously found wrap-point) _is_ relevant
|
||||
in that case. */
|
||||
&& !(moved_forward && char_can_wrap_before (it)))
|
||||
&& (!moved_forward || char_can_wrap_before (it)))
|
||||
{
|
||||
/* If we've found TO_X, go back there, as we now
|
||||
know the last word fits on this screen line. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue