patch 7.4.1570
Problem: There is no way to avoid the message when editing a file.
Solution: Add the "F" flag to 'shortmess'. (Shougo, closes #686)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 6461c3c..ae88cc6 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2605,7 +2605,8 @@
return;
}
/* print full file name if :cd used */
- fileinfo(FALSE, FALSE, eap->forceit);
+ if (!shortmess(SHM_FILEINFO))
+ fileinfo(FALSE, FALSE, eap->forceit);
}
/*
@@ -3884,7 +3885,8 @@
msg_scroll = msg_scroll_save;
msg_scrolled_ign = TRUE;
- fileinfo(FALSE, TRUE, FALSE);
+ if (!shortmess(SHM_FILEINFO))
+ fileinfo(FALSE, TRUE, FALSE);
msg_scrolled_ign = FALSE;
}