aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert2015-01-03 17:48:23 -0800
committerPaul Eggert2015-01-03 17:49:15 -0800
commitd20f82e6f1ab902469723ebd530ca21bea9cc41b (patch)
treea927fe4309925c0b66e860dfe052baf68560aa8b /src/fileio.c
parentd94007484ab6b98054b043c1bedeaf7a58eb8606 (diff)
downloademacs-d20f82e6f1ab902469723ebd530ca21bea9cc41b.tar.gz
emacs-d20f82e6f1ab902469723ebd530ca21bea9cc41b.zip
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 'src/fileio.c')
-rw-r--r--src/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c
index b04d99809a6..0f0fd1a5c8d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4741,8 +4741,8 @@ Optional fifth argument VISIT, if t or a string, means
4741If VISIT is a string, it is a second file name; 4741If VISIT is a string, it is a second file name;
4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT. 4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT.
4743 VISIT is also the file name to lock and unlock for clash detection. 4743 VISIT is also the file name to lock and unlock for clash detection.
4744If VISIT is neither t nor nil nor a string, 4744If VISIT is neither t nor nil nor a string, or if Emacs is in batch mode,
4745 that means do not display the \"Wrote file\" message. 4745 do not display the \"Wrote file\" message.
4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to 4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to
4747 use for locking and unlocking, overriding FILENAME and VISIT. 4747 use for locking and unlocking, overriding FILENAME and VISIT.
4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check 4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check
@@ -5109,7 +5109,7 @@ write_region (Lisp_Object start, Lisp_Object end, Lisp_Object filename,
5109 return Qnil; 5109 return Qnil;
5110 } 5110 }
5111 5111
5112 if (!auto_saving) 5112 if (!auto_saving && !noninteractive)
5113 message_with_string ((NUMBERP (append) 5113 message_with_string ((NUMBERP (append)
5114 ? "Updated %s" 5114 ? "Updated %s"
5115 : ! NILP (append) 5115 : ! NILP (append)