aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorRichard M. Stallman1999-11-01 23:25:14 +0000
committerRichard M. Stallman1999-11-01 23:25:14 +0000
commit7b0cb8a0e7b6ebd2d77b2070147d4cedef9d4b35 (patch)
treeb22ced210b2f2b4b4796b75948caa1a7535185d6 /src/print.c
parent15934ffa0e165d784d2b306fe6649ef41ed06773 (diff)
downloademacs-7b0cb8a0e7b6ebd2d77b2070147d4cedef9d4b35.tar.gz
emacs-7b0cb8a0e7b6ebd2d77b2070147d4cedef9d4b35.zip
(strout): Consider `noninteractive' and use stdout
only when PRINTCHARFUN is t.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index ad45035c7ac..fe6ec510399 100644
--- a/src/print.c
+++ b/src/print.c
@@ -388,7 +388,7 @@ strout (ptr, size, size_byte, printcharfun, multibyte)
388 print_chars += size; 388 print_chars += size;
389#endif /* MAX_PRINT_CHARS */ 389#endif /* MAX_PRINT_CHARS */
390 } 390 }
391 else if (noninteractive) 391 else if (noninteractive && EQ (printcharfun, Qt))
392 { 392 {
393 fwrite (ptr, 1, size_byte, stdout); 393 fwrite (ptr, 1, size_byte, stdout);
394 noninteractive_need_newline = 1; 394 noninteractive_need_newline = 1;