Mercurial > vim
comparison src/autocmd.c @ 17752:6e11a5cb1533 v8.1.1873
patch 8.1.1873: cannot build tiny version
commit https://github.com/vim/vim/commit/df707755554ecc102a908e8d5b64f2903f4f3686
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 17:50:07 2019 +0200
patch 8.1.1873: cannot build tiny version
Problem: Cannot build tiny version.
Solution: Remove #ifdef for is_autocmd_blocked().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 18:00:03 +0200 |
parents | 83ad219cc133 |
children | 04245f071792 |
comparison
equal
deleted
inserted
replaced
17751:ac9f5d3ac693 | 17752:6e11a5cb1533 |
---|---|
2239 && get_vim_var_str(VV_TERMRESPONSE) != old_termresponse) | 2239 && get_vim_var_str(VV_TERMRESPONSE) != old_termresponse) |
2240 apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf); | 2240 apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf); |
2241 # endif | 2241 # endif |
2242 } | 2242 } |
2243 | 2243 |
2244 #if defined(FEAT_EVAL) && (defined(FEAT_XIM) || defined(IME_WITHOUT_XIM)) \ | |
2245 || defined(PROTO) | |
2246 int | 2244 int |
2247 is_autocmd_blocked(void) | 2245 is_autocmd_blocked(void) |
2248 { | 2246 { |
2249 return autocmd_blocked != 0; | 2247 return autocmd_blocked != 0; |
2250 } | 2248 } |
2251 #endif | |
2252 | 2249 |
2253 /* | 2250 /* |
2254 * Find next autocommand pattern that matches. | 2251 * Find next autocommand pattern that matches. |
2255 */ | 2252 */ |
2256 static void | 2253 static void |