summaryrefslogtreecommitdiff
path: root/doc/lispref/files.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-01-03 17:48:23 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-01-03 17:49:15 -0800
commitd20f82e6f1ab902469723ebd530ca21bea9cc41b (patch)
treea927fe4309925c0b66e860dfe052baf68560aa8b /doc/lispref/files.texi
parentd94007484ab6b98054b043c1bedeaf7a58eb8606 (diff)
downloademacs-d20f82e6f1ab902469723ebd530ca21bea9cc41b.tar.gz
batch write-region no longer says "Wrote FOO"
This cuts down on 'make' chatter a bit. * doc/lispref/files.texi (Writing to Files): * etc/NEWS: Document this. * src/fileio.c (Fwrite_region): Don't output "Wrote /whatever/foo.elc" if noninteractive.
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r--doc/lispref/files.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 51d13692fe5..c8500d2f412 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -653,8 +653,9 @@ and also calls the functions in the list
@xref{Format Conversion}.
Normally, @code{write-region} displays the message @samp{Wrote
-@var{filename}} in the echo area. If @var{visit} is neither @code{t}
-nor @code{nil} nor a string, then this message is inhibited. This
+@var{filename}} in the echo area. This message is inhibited if
+@var{visit} is neither @code{t} nor @code{nil} nor a string, or if
+Emacs is operating in batch mode (@pxref{Batch mode}). This
feature is useful for programs that use files for internal purposes,
files that the user does not need to know about.
@end deffn