diff src/fileio.c @ 5008:3717d569027d v7.3.1248

updated for version 7.3.1248 Problem: Still have old hacking code for Input Method. Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to Input Method activation. (Yukihiro Nakadaira)
author Bram Moolenaar <bram@vim.org>
date Wed, 26 Jun 2013 19:18:05 +0200
parents fa98c2b030ed
children 93cccad6a26b
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -9572,6 +9572,12 @@ unblock_autocmds()
 # endif
 }
 
+    int
+is_autocmd_blocked()
+{
+    return autocmd_blocked != 0;
+}
+
 /*
  * Find next autocommand pattern that matches.
  */