0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
Bram Moolenaar
2016-03-15 15:09:29 +01:00
parent e27dba499a
commit 426dd02195
5 changed files with 16 additions and 4 deletions

View File

@@ -2605,7 +2605,8 @@ ex_file(exarg_T *eap)
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 @@ do_ecmd(
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;
}