From 0c328a0ef53e90858b3f0be516dc917f5c68cdf6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Jun 2003 00:04:10 +0000 Subject: [PATCH] (Fwrite_region): Alternate messages for append and partial write. --- src/fileio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 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; } -- 2.39.2