Mercurial > vim
comparison src/ex_cmds2.c @ 1515:8d8dc7e07999 v7.1.230
updated for version 7.1-230
author | vimboss |
---|---|
date | Tue, 15 Jan 2008 21:17:30 +0000 |
parents | 29c09fa57168 |
children | 066778e39c2a |
comparison
equal
deleted
inserted
replaced
1514:8a22a90c964a | 1515:8d8dc7e07999 |
---|---|
2887 #ifdef FEAT_AUTOCMD | 2887 #ifdef FEAT_AUTOCMD |
2888 /* Apply SourceCmd autocommands, they should get the file and source it. */ | 2888 /* Apply SourceCmd autocommands, they should get the file and source it. */ |
2889 if (has_autocmd(EVENT_SOURCECMD, fname_exp, NULL) | 2889 if (has_autocmd(EVENT_SOURCECMD, fname_exp, NULL) |
2890 && apply_autocmds(EVENT_SOURCECMD, fname_exp, fname_exp, | 2890 && apply_autocmds(EVENT_SOURCECMD, fname_exp, fname_exp, |
2891 FALSE, curbuf)) | 2891 FALSE, curbuf)) |
2892 { | |
2892 # ifdef FEAT_EVAL | 2893 # ifdef FEAT_EVAL |
2893 return aborting() ? FAIL : OK; | 2894 retval = aborting() ? FAIL : OK; |
2894 # else | 2895 # else |
2895 return OK; | 2896 retval = OK; |
2896 # endif | 2897 # endif |
2898 goto theend; | |
2899 } | |
2897 | 2900 |
2898 /* Apply SourcePre autocommands, they may get the file. */ | 2901 /* Apply SourcePre autocommands, they may get the file. */ |
2899 apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf); | 2902 apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf); |
2900 #endif | 2903 #endif |
2901 | 2904 |