updated for version 7.1-230
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 2eeb752..051c716 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2889,11 +2889,14 @@
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);