diff options
-rw-r--r-- | src/fileio.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 5e79870ad..1bf4d8760 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -6742,6 +6742,8 @@ buf_check_timestamp( #endif )) { + long prev_b_mtime = buf->b_mtime; + retval = 1; // set b_mtime to stop further warnings (e.g., when executing @@ -6819,7 +6821,11 @@ buf_check_timestamp( if (!n) { if (*reason == 'd') - mesg = _("E211: File \"%s\" no longer available"); + { + // Only give the message once. + if (prev_b_mtime != -1) + mesg = _("E211: File \"%s\" no longer available"); + } else { helpmesg = TRUE; diff --git a/src/version.c b/src/version.c index 463456b4c..15577e0fc 100644 --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1780, +/**/ 1779, /**/ 1778, |