(Fwrite_region): Alternate messages for append and partial write.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 Jun 2003 00:04:10 +0000 (00:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 Jun 2003 00:04:10 +0000 (00:04 +0000)
src/fileio.c

index fa8958c..dc918b0 100644 (file)
@@ -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;
 }