mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.1-125
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user