diff options
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r-- | src/nvim/memory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c index a2274a25fe..c954ab3c7b 100644 --- a/src/nvim/memory.c +++ b/src/nvim/memory.c @@ -489,7 +489,8 @@ void free_all_mem(void) return; entered = true; - block_autocmds(); /* don't want to trigger autocommands here */ + // Don't want to trigger autocommands from here on. + block_autocmds(); /* Close all tabs and windows. Reset 'equalalways' to avoid redraws. */ p_ea = FALSE; |