mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 23:21:22 -08:00
Fix mouse-set-point when line numbers are displayed
* src/xdisp.c (move_it_to): Initialize the line_number_produced_p flag before iterating on a new line. (Bug#30818)
This commit is contained in:
parent
c8c486bd38
commit
5c585b8b99
1 changed files with 1 additions and 0 deletions
|
|
@ -9598,6 +9598,7 @@ move_it_to (struct it *it, ptrdiff_t to_charpos, int to_x, int to_y, int to_vpos
|
|||
it->current_x = line_start_x;
|
||||
line_start_x = 0;
|
||||
it->hpos = 0;
|
||||
it->line_number_produced_p = false;
|
||||
it->current_y += it->max_ascent + it->max_descent;
|
||||
++it->vpos;
|
||||
last_height = it->max_ascent + it->max_descent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue