aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/print.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/print.c b/src/print.c
index 90b46496eff..a4a214a2cdb 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1968,12 +1968,7 @@ print_object (obj, printcharfun, escapeflag)
1968 { 1968 {
1969 QUIT; 1969 QUIT;
1970 c = XBOOL_VECTOR (obj)->data[i]; 1970 c = XBOOL_VECTOR (obj)->data[i];
1971 if (! ASCII_BYTE_P (c)) 1971 if (c == '\n' && print_escape_newlines)
1972 {
1973 sprintf (buf, "\\%03o", c);
1974 strout (buf, -1, -1, printcharfun, 0);
1975 }
1976 else if (c == '\n' && print_escape_newlines)
1977 { 1972 {
1978 PRINTCHAR ('\\'); 1973 PRINTCHAR ('\\');
1979 PRINTCHAR ('n'); 1974 PRINTCHAR ('n');