mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
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
@ -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…
Reference in New Issue
Block a user