files: suppress feedback when writing an emergency or temporary file

This fixes https://savannah.gnu.org/bugs/?56474.

Bug existed since commit 47770bd3 from two weeks ago.
This commit is contained in:
Benno Schulenberg
2019-06-12 09:46:19 +02:00
parent c57d040e99
commit 189de5ee78

View File

@@ -1859,6 +1859,7 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
} }
} }
if (!tmp)
statusbar(_("Writing...")); statusbar(_("Writing..."));
while (fileptr != NULL) { while (fileptr != NULL) {