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
8fcaf9cc
Commit
8fcaf9cc
authored
Jun 18, 2011
by
Paul Eggert
Browse files
* indent.c (Fcompute_motion): Don't assume hscroll and tab offset fit in int.
parent
abe80cc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/ChangeLog
src/ChangeLog
+1
-0
src/indent.c
src/indent.c
+1
-1
No files found.
src/ChangeLog
View file @
8fcaf9cc
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
* indent.c (sane_tab_width): New function.
* indent.c (sane_tab_width): New function.
(current_column, scan_for_column, Findent_to, position_indentation)
(current_column, scan_for_column, Findent_to, position_indentation)
(compute_motion): Use it. This is just for clarity.
(compute_motion): Use it. This is just for clarity.
(Fcompute_motion): Don't assume hscroll and tab offset fit in int.
* image.c (xbm_image_p): Don't assume stated width and height fit in int.
* image.c (xbm_image_p): Don't assume stated width and height fit in int.
...
...
src/indent.c
View file @
8fcaf9cc
...
@@ -1743,7 +1743,7 @@ visible section of the buffer, and pass LINE and COL as TOPOS. */)
...
@@ -1743,7 +1743,7 @@ visible section of the buffer, and pass LINE and COL as TOPOS. */)
struct
window
*
w
;
struct
window
*
w
;
Lisp_Object
bufpos
,
hpos
,
vpos
,
prevhpos
;
Lisp_Object
bufpos
,
hpos
,
vpos
,
prevhpos
;
struct
position
*
pos
;
struct
position
*
pos
;
int
hscroll
,
tab_offset
;
EMACS_INT
hscroll
,
tab_offset
;
CHECK_NUMBER_COERCE_MARKER
(
from
);
CHECK_NUMBER_COERCE_MARKER
(
from
);
CHECK_CONS
(
frompos
);
CHECK_CONS
(
frompos
);
...
...
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