projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db88d6
)
Fix 'vertical-motion' when display strings are around
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 26 Feb 2023 09:34:14 +0000
(11:34 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 26 Feb 2023 09:34:14 +0000
(11:34 +0200)
* src/indent.c (Fvertical_motion): Correct bidi-related condition
for character position, when we didn't move vertically. (Bug#61636)
src/indent.c
patch
|
blob
|
history
diff --git
a/src/indent.c
b/src/indent.c
index 6de18d749caefa0d6906c334c315d37c9c8efa2e..08d2bf5ea285bbabb02ebdced165a84b2ea833a6 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-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)
{