Mercurial > vim
diff src/ex_cmds.c @ 725:0a9371c70540 v7.0220
updated for version 7.0220
author | vimboss |
---|---|
date | Fri, 10 Mar 2006 21:46:58 +0000 |
parents | 2fa8cb05b861 |
children | ace020011f68 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -949,9 +949,14 @@ do_bang(addr_count, eap, forceit, do_in, do_shell(newcmd, 0); } else /* :range! */ + { /* Careful: This may recursively call do_bang() again! (because of * autocommands) */ do_filter(line1, line2, eap, newcmd, do_in, do_out); +#ifdef FEAT_AUTOCMD + apply_autocmds(EVENT_SHELLFILTERPOST, NULL, NULL, FALSE, curbuf); +#endif + } if (free_newcmd) vim_free(newcmd); } @@ -1419,6 +1424,10 @@ do_shell(cmd, flags) /* display any error messages now */ display_errors(); + +#ifdef FEAT_AUTOCMD + apply_autocmds(EVENT_SHELLCMDPOST, NULL, NULL, FALSE, curbuf); +#endif } /*