summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-03-18 14:42:00 +0000
committerBram Moolenaar <Bram@vim.org>2009-03-18 14:42:00 +0000
commit496c5267dfcc66576c0c44537ab591a8d8e0752e (patch)
tree5b26d151bc1601423edd529693fad79c9ffb8868 /src/fileio.c
parent80b6a0e8d5aee3be938c731ac65c51f266ac7089 (diff)
updated for version 7.2-146v7.2.146
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 0d0269b7fb..eec68e84b9 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -6647,6 +6647,11 @@ buf_check_timestamp(buf, focus)
tbuf = alloc((unsigned)(STRLEN(path) + STRLEN(mesg)
+ STRLEN(mesg2) + 2));
sprintf((char *)tbuf, mesg, path);
+#ifdef FEAT_EVAL
+ /* Set warningmsg here, before the unimportant and output-specific
+ * mesg2 has been appended. */
+ set_vim_var_string(VV_WARNINGMSG, tbuf, -1);
+#endif
#if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
if (can_reload)
{