Commit 7b0cb8a0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(strout): Consider `noninteractive' and use stdout

only when PRINTCHARFUN is t.
parent 15934ffa
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment