]> git.eshelyaron.com Git - emacs.git/commitdiff
(strout): Consider `noninteractive' and use stdout
authorRichard M. Stallman <rms@gnu.org>
Mon, 1 Nov 1999 23:25:14 +0000 (23:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 1 Nov 1999 23:25:14 +0000 (23:25 +0000)
only when PRINTCHARFUN is t.

src/print.c

index ad45035c7acb7137693a69dedf2003f45e49ca3b..fe6ec51039999b7ecf1db2d500df9ca082ee2b34 100644 (file)
@@ -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;