diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-09-29 12:16:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-09-29 12:16:41 +0000 |
commit | 78ab331e0d8a76f553830f0347ac27311e4dc0f8 (patch) | |
tree | df1c313bb5c0cae5db59d08f852971a0c10fd89c /src/buffer.c | |
parent | 51b8436f09c0ea855758b2086d92f838acab7631 (diff) | |
download | vim-git-78ab331e0d8a76f553830f0347ac27311e4dc0f8.tar.gz |
updated for version 7.1-125v7.1.125
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index c94790154..c29fb236e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5515,11 +5515,11 @@ wipe_buffer(buf, aucmd) #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 } |