Mercurial > emacs
diff src/fileio.c @ 51636:758b45c47650
(Fwrite_region): Alternate messages for append and partial write.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 22 Jun 2003 00:04:10 +0000 |
parents | b4847cd4179f |
children | 514920a68703 |
line wrap: on
line diff
--- a/src/fileio.c Sun Jun 22 00:01:42 2003 +0000 +++ b/src/fileio.c Sun Jun 22 00:04:10 2003 +0000 @@ -5222,7 +5222,12 @@ 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; }