Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1b2083c2
Commit
1b2083c2
authored
Oct 21, 2023
by
Eli Zaretskii
Browse files
; * src/keyboard.c (line_number_mode_hscroll): Fix last change.
parent
2fb4108a
Pipeline
#26844
failed with stages
in 7 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/keyboard.c
src/keyboard.c
+3
-2
No files found.
src/keyboard.c
View file @
1b2083c2
...
...
@@ -5961,7 +5961,8 @@ line_number_mode_hscroll (Lisp_Object start_pos, Lisp_Object end_pos)
Lisp_Object start_col_row = Fnth (make_fixnum (6), start_pos);
Lisp_Object end_col_row = Fnth (make_fixnum (6), end_pos);
Lisp_Object window = Fcar (end_pos);
int col_width, pixel_width, start_col, end_col;
int col_width, pixel_width;
Lisp_Object start_col, end_col;
struct window *w;
if (!WINDOW_VALID_P (window))
{
...
...
@@ -5974,7 +5975,7 @@ line_number_mode_hscroll (Lisp_Object start_pos, Lisp_Object end_pos)
line_number_display_width (w, &col_width, &pixel_width);
start_col = Fcar (start_col_row);
end_col = Fcar (end_col_row);
return start_col
==
end_col
return
EQ (
start_col
,
end_col
)
&& down_mouse_line_number_width >= 0
&& col_width != down_mouse_line_number_width;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment