aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-06-22 00:04:10 +0000
committerRichard M. Stallman <[email protected]>2003-06-22 00:04:10 +0000
commit0c328a0ef53e90858b3f0be516dc917f5c68cdf6 (patch)
tree0f8c726aafe4cdd725e1b16618e1819ed482986b /src/fileio.c
parentf1871a7dc88e35e73906c68f4e50e503311dd537 (diff)
(Fwrite_region): Alternate messages for append and partial write.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fa8958c11b..dc918b0851 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5222,7 +5222,12 @@ This does code conversion according to the value of
return Qnil;
if (!auto_saving)
- message_with_string ("Wrote %s", visit_file, 1);
+ message_with_string ((! INTEGERP (append)
+ ? "Updated %s"
+ : ! NILP (append)
+ ? "Added to %s"
+ : "Wrote %s"),
+ visit_file, 1);
return Qnil;
}