From 7b0cb8a0e7b6ebd2d77b2070147d4cedef9d4b35 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 1 Nov 1999 23:25:14 +0000 Subject: [PATCH] (strout): Consider `noninteractive' and use stdout only when PRINTCHARFUN is t. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) print_chars += size; #endif /* MAX_PRINT_CHARS */ } - else if (noninteractive) + else if (noninteractive && EQ (printcharfun, Qt)) { fwrite (ptr, 1, size_byte, stdout); noninteractive_need_newline = 1; -- 2.39.5