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.
master
parent
c57d040e99
commit
189de5ee78
|
@ -1859,7 +1859,8 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
|
|||
}
|
||||
}
|
||||
|
||||
statusbar(_("Writing..."));
|
||||
if (!tmp)
|
||||
statusbar(_("Writing..."));
|
||||
|
||||
while (fileptr != NULL) {
|
||||
size_t data_len = strlen(fileptr->data), size;
|
||||
|
|
Loading…
Reference in New Issue