]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 fa8958c11b4c8d5b1a73ca5f23f442b5fe3f815f..dc918b0851b77b7278371eb3cb74668deb31fa97 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;
 }