aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-11-27 08:02:15 +0000
committerKenichi Handa2008-11-27 08:02:15 +0000
commitf10fdbfd4275fdcc97be7d0c4134019f7d161334 (patch)
treeea0ea94a947638c38cb1bf38349b39399c560c51
parentbed6185fecbb1259d17bc65a9877350d35db6a16 (diff)
downloademacs-f10fdbfd4275fdcc97be7d0c4134019f7d161334.tar.gz
emacs-f10fdbfd4275fdcc97be7d0c4134019f7d161334.zip
(print_object): For bool-vector, delete unnecessary
check of ASCII_BYTE_P.
-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');