projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae78b14
)
Fix mouse-set-point when line numbers are displayed
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 15 Mar 2018 13:13:50 +0000
(15:13 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 2 Jun 2018 09:19:42 +0000
(12:19 +0300)
* src/xdisp.c (move_it_to): Initialize the line_number_produced_p
flag before iterating on a new line. (Bug#30818)
(cherry picked from commit
5c585b8b994aad4e6844f8eed80bdfbb396e91bf
)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f637dec64d09281261468ff88abd29a283b94fa5..4e3955ea61eeb9f1b71bc84a51255d78f80ec209 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-9600,6
+9600,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;