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
b8180922
Commit
b8180922
authored
May 05, 1995
by
Richard M. Stallman
Browse files
(print): Make the printing understand EMACS_INTs
that are longs as well as ints.
parent
d9780682
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/print.c
src/print.c
+6
-1
No files found.
src/print.c
View file @
b8180922
...
...
@@ -755,7 +755,12 @@ print (obj, printcharfun, escapeflag)
switch
(
XGCTYPE
(
obj
))
{
case
Lisp_Int
:
sprintf
(
buf
,
"%d"
,
XINT
(
obj
));
if
(
sizeof
(
int
)
==
sizeof
(
EMACS_INT
))
sprintf
(
buf
,
"%d"
,
XINT
(
obj
));
else
if
(
sizeof
(
long
)
==
sizeof
(
EMACS_INT
))
sprintf
(
buf
,
"%ld"
,
XINT
(
obj
));
else
abort
();
strout
(
buf
,
-
1
,
printcharfun
);
break
;
...
...
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