1
0
forked from aniani/vim

updated for version 7.0217

This commit is contained in:
Bram Moolenaar
2006-03-07 22:38:47 +00:00
parent a203182302
commit 1f35bf9cab
22 changed files with 283 additions and 180 deletions

View File

@@ -2612,9 +2612,10 @@ cmd_source(fname, eap)
if (*fname == NUL)
EMSG(_(e_argreq));
/* ":source!" read vi commands */
else if (eap != NULL && eap->forceit)
/* Need to execute the commands directly when:
/* ":source!": read Normal mdoe commands
* Need to execute the commands directly. This is required at least
* for:
* - ":g" command busy
* - after ":argdo", ":windo" or ":bufdo"
* - another command follows
@@ -2768,6 +2769,10 @@ do_source(fname, check_other, is_vimrc)
goto theend;
}
#ifdef FEAT_AUTOCMD
apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf);
#endif
#if defined(WIN32) && defined(FEAT_CSCOPE)
cookie.fp = fopen_noinh_readbin((char *)fname_exp);
#else