updated for version 7.1-125
diff --git a/src/misc2.c b/src/misc2.c
index 9e314c2..165b65b 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -972,7 +972,7 @@
 	return;
     entered = TRUE;
 
-    ++autocmd_block;	    /* don't want to trigger autocommands here */
+    block_autocmds();	    /* don't want to trigger autocommands here */
 
 #ifdef FEAT_WINDOWS
     /* close all tabs and windows */