diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-10 21:46:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-10 21:46:58 +0000 |
commit | ade0083d3ad61d86368a77bd1e499231eea9a3eb (patch) | |
tree | e27c131c9a26aab271b9effdf784338f1884b1a2 /src/ex_cmds.c | |
parent | a94bc430e81fb52b982fc3bdf8da60e585b91f58 (diff) |
updated for version 7.0220v7.0220
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9deeae42f5..23dbcd5ad7 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -949,9 +949,14 @@ do_bang(addr_count, eap, forceit, do_in, do_out) 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 } /* |