be silent when opening files

This commit is contained in:
Martin Grenfell 2008-06-08 21:02:54 +12:00
parent 776aeef26f
commit 6334e99192

View File

@ -2033,7 +2033,7 @@ function! s:OpenFileNode(treenode)
else
try
wincmd p
exec ("edit " . a:treenode.path.StrForEditCmd())
silent exec ("edit " . a:treenode.path.StrForEditCmd())
catch /^Vim\%((\a\+)\)\=:E37/
call s:PutCursorInTreeWin()
call s:Echo("Cannot open file, it is already open and modified")