aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2003-06-22 00:04:10 +0000
committerRichard M. Stallman2003-06-22 00:04:10 +0000
commit0c328a0ef53e90858b3f0be516dc917f5c68cdf6 (patch)
tree0f8c726aafe4cdd725e1b16618e1819ed482986b /src
parentf1871a7dc88e35e73906c68f4e50e503311dd537 (diff)
downloademacs-0c328a0ef53e90858b3f0be516dc917f5c68cdf6.tar.gz
emacs-0c328a0ef53e90858b3f0be516dc917f5c68cdf6.zip
(Fwrite_region): Alternate messages for append and partial write.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fa8958c11b4..dc918b0851b 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5222,7 +5222,12 @@ This does code conversion according to the value of
5222 return Qnil; 5222 return Qnil;
5223 5223
5224 if (!auto_saving) 5224 if (!auto_saving)
5225 message_with_string ("Wrote %s", visit_file, 1); 5225 message_with_string ((! INTEGERP (append)
5226 ? "Updated %s"
5227 : ! NILP (append)
5228 ? "Added to %s"
5229 : "Wrote %s"),
5230 visit_file, 1);
5226 5231
5227 return Qnil; 5232 return Qnil;
5228} 5233}