diff options
| author | Richard M. Stallman | 2003-06-22 00:04:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-06-22 00:04:10 +0000 |
| commit | 0c328a0ef53e90858b3f0be516dc917f5c68cdf6 (patch) | |
| tree | 0f8c726aafe4cdd725e1b16618e1819ed482986b /src | |
| parent | f1871a7dc88e35e73906c68f4e50e503311dd537 (diff) | |
| download | emacs-0c328a0ef53e90858b3f0be516dc917f5c68cdf6.tar.gz emacs-0c328a0ef53e90858b3f0be516dc917f5c68cdf6.zip | |
(Fwrite_region): Alternate messages for append and partial write.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
| 5222 | return Qnil; | 5222 | return Qnil; |
| 5223 | 5223 | ||
| 5224 | if (!auto_saving) | 5224 | if (!auto_saving) |
| 5225 | message_with_string ("Wrote %s", visit_file, 1); | 5225 | message_with_string ((! INTEGERP (append) |
| 5226 | ? "Updated %s" | ||
| 5227 | : ! NILP (append) | ||
| 5228 | ? "Added to %s" | ||
| 5229 | : "Wrote %s"), | ||
| 5230 | visit_file, 1); | ||
| 5226 | 5231 | ||
| 5227 | return Qnil; | 5232 | return Qnil; |
| 5228 | } | 5233 | } |