1
0
forked from aniani/vim

updated for version 7.1-230

This commit is contained in:
Bram Moolenaar
2008-01-15 21:17:30 +00:00
parent ce3be4756a
commit f33943efe7
2 changed files with 7 additions and 2 deletions

View File

@@ -2889,11 +2889,14 @@ do_source(fname, check_other, is_vimrc)
if (has_autocmd(EVENT_SOURCECMD, fname_exp, NULL)
&& apply_autocmds(EVENT_SOURCECMD, fname_exp, fname_exp,
FALSE, curbuf))
{
# ifdef FEAT_EVAL
return aborting() ? FAIL : OK;
retval = aborting() ? FAIL : OK;
# else
return OK;
retval = OK;
# endif
goto theend;
}
/* Apply SourcePre autocommands, they may get the file. */
apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf);