Fix cursor motion when there's line-prefix and display string at BOL
* src/xdisp.c (move_it_in_display_line_to): Handle 'line-prefix' and 'wrap-prefix' when the screen line has a display string at its beginning. (Bug#61580)
This commit is contained in:
parent
e985466556
commit
6ea3c105ab
1 changed files with 2 additions and 2 deletions
|
@ -9609,8 +9609,8 @@ move_it_in_display_line_to (struct it *it,
|
|||
else
|
||||
line_number_pending = true;
|
||||
}
|
||||
/* If there's a line-/wrap-prefix, handle it. */
|
||||
if (it->method == GET_FROM_BUFFER)
|
||||
/* If there's a line-/wrap-prefix, handle it, if we didn't already. */
|
||||
if (it->area == TEXT_AREA && !it->string_from_prefix_prop_p)
|
||||
handle_line_prefix (it);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue