summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 6461c3c08..ae88cc69e 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -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;
}