From 189de5ee781fd11230c0412719582aba6e207d55 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 12 Jun 2019 09:46:19 +0200 Subject: [PATCH] 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. --- src/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index c55c957b..12046c23 100644 --- a/src/files.c +++ b/src/files.c @@ -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;