Fix 'vertical-motion' when display strings are around
* src/indent.c (Fvertical_motion): Correct bidi-related condition for character position, when we didn't move vertically. (Bug#61636)
This commit is contained in:
parent
0db88d625a
commit
5256392a7e
1 changed files with 1 additions and 1 deletions
|
@ -2401,7 +2401,7 @@ whether or not it is currently displayed in some window. */)
|
|||
last line that it occupies. */
|
||||
if (it_start < ZV)
|
||||
{
|
||||
if ((it.bidi_it.scan_dir > 0)
|
||||
if ((it.bidi_it.scan_dir >= 0 || it.vpos == vpos_init)
|
||||
? IT_CHARPOS (it) < it_start
|
||||
: IT_CHARPOS (it) > it_start)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue