aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/print.c b/src/print.c
index 79ff8ba314b..8bef7a76f4d 100644
--- a/src/print.c
+++ b/src/print.c
@@ -411,7 +411,7 @@ print_string (Lisp_Object string, Lisp_Object printcharfun)
411 } 411 }
412 else 412 else
413 /* No need to copy, since output to print_buffer can't GC. */ 413 /* No need to copy, since output to print_buffer can't GC. */
414 strout (SDATA (string), 414 strout (SSDATA (string),
415 chars, SBYTES (string), 415 chars, SBYTES (string),
416 printcharfun, STRING_MULTIBYTE (string)); 416 printcharfun, STRING_MULTIBYTE (string));
417 } 417 }
@@ -584,7 +584,7 @@ usage: (with-output-to-temp-buffer BUFNAME BODY...) */)
584 GCPRO1(args); 584 GCPRO1(args);
585 name = Feval (Fcar (args)); 585 name = Feval (Fcar (args));
586 CHECK_STRING (name); 586 CHECK_STRING (name);
587 temp_output_buffer_setup (SDATA (name)); 587 temp_output_buffer_setup (SSDATA (name));
588 buf = Vstandard_output; 588 buf = Vstandard_output;
589 UNGCPRO; 589 UNGCPRO;
590 590
@@ -1097,7 +1097,7 @@ float_to_string (unsigned char *buf, double data)
1097 if (cp[1] != 0) 1097 if (cp[1] != 0)
1098 goto lose; 1098 goto lose;
1099 1099
1100 sprintf (buf, SDATA (Vfloat_output_format), data); 1100 sprintf (buf, SSDATA (Vfloat_output_format), data);
1101 } 1101 }
1102 1102
1103 /* Make sure there is a decimal point with digit after, or an 1103 /* Make sure there is a decimal point with digit after, or an
@@ -1511,7 +1511,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1511 PRINTCHAR ('f'); 1511 PRINTCHAR ('f');
1512 } 1512 }
1513 else if (multibyte 1513 else if (multibyte
1514 && (CHAR_BYTE8_P (c) 1514 && (CHAR_BYTE8_P (c)
1515 || (! ASCII_CHAR_P (c) && print_escape_multibyte))) 1515 || (! ASCII_CHAR_P (c) && print_escape_multibyte)))
1516 { 1516 {
1517 /* When multibyte is disabled, 1517 /* When multibyte is disabled,
@@ -1933,7 +1933,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1933 if (NATNUMP (Vprint_length) 1933 if (NATNUMP (Vprint_length)
1934 && XFASTINT (Vprint_length) < size) 1934 && XFASTINT (Vprint_length) < size)
1935 size = XFASTINT (Vprint_length); 1935 size = XFASTINT (Vprint_length);
1936 1936
1937 PRINTCHAR ('('); 1937 PRINTCHAR ('(');
1938 for (i = 0; i < size; i++) 1938 for (i = 0; i < size; i++)
1939 if (!NILP (HASH_HASH (h, i))) 1939 if (!NILP (HASH_HASH (h, i)))
@@ -2311,4 +2311,3 @@ priorities. */);
2311 2311
2312 defsubr (&Swith_output_to_temp_buffer); 2312 defsubr (&Swith_output_to_temp_buffer);
2313} 2313}
2314