commit | 78ab331e0d8a76f553830f0347ac27311e4dc0f8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 29 12:16:41 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 29 12:16:41 2007 +0000 |
tree | df1c313bb5c0cae5db59d08f852971a0c10fd89c | |
parent | 51b8436f09c0ea855758b2086d92f838acab7631 [diff] [blame] |
updated for version 7.1-125
diff --git a/src/buffer.c b/src/buffer.c index c947901..c29fb23 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -5515,11 +5515,11 @@ #ifdef FEAT_AUTOCMD if (!aucmd) /* Don't trigger BufDelete autocommands here. */ - ++autocmd_block; + block_autocmds(); #endif close_buffer(NULL, buf, DOBUF_WIPE); #ifdef FEAT_AUTOCMD if (!aucmd) - --autocmd_block; + unblock_autocmds(); #endif }