Mercurial > emacs
changeset 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 | dec942028211 |
children | 745eaece4a11 |
files | src/fileio.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
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; }