Mercurial > vim
changeset 1515:8d8dc7e07999 v7.1.230
updated for version 7.1-230
author | vimboss |
---|---|
date | Tue, 15 Jan 2008 21:17:30 +0000 |
parents | 8a22a90c964a |
children | ee9d2d24ea9b |
files | src/ex_cmds2.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -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);