aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-07-22 06:27:09 +0000
committerKenichi Handa2002-07-22 06:27:09 +0000
commitb2d2821515097896fe8e639d20e6b90c906eb0dc (patch)
treec95af7e774d1a12a5842c21db6481b84913e15ff /src
parent20df7570070ab07d2dcb770cea58630f26e857c4 (diff)
downloademacs-b2d2821515097896fe8e639d20e6b90c906eb0dc.tar.gz
emacs-b2d2821515097896fe8e639d20e6b90c906eb0dc.zip
(print_object): Use octal form for printing the
contents of a bool vector.
Diffstat (limited to 'src')
-rw-r--r--src/print.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 7a900a108c1..29555a7acbe 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1698,7 +1698,12 @@ print_object (obj, printcharfun, escapeflag)
1698 { 1698 {
1699 QUIT; 1699 QUIT;
1700 c = XBOOL_VECTOR (obj)->data[i]; 1700 c = XBOOL_VECTOR (obj)->data[i];
1701 if (c == '\n' && print_escape_newlines) 1701 if (! ASCII_BYTE_P (c))
1702 {
1703 sprintf (buf, "\\%03o", c);
1704 strout (buf, -1, -1, printcharfun, 0);
1705 }
1706 else if (c == '\n' && print_escape_newlines)
1702 { 1707 {
1703 PRINTCHAR ('\\'); 1708 PRINTCHAR ('\\');
1704 PRINTCHAR ('n'); 1709 PRINTCHAR ('n');