Remove unused function is_autocmd_blocked.

This commit is contained in:
Thomas Wienecke
2014-04-10 19:30:41 +02:00
parent bdcb258192
commit 5446fbad88
2 changed files with 0 additions and 6 deletions

View File

@@ -7428,11 +7428,6 @@ void unblock_autocmds(void)
apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf); apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf);
} }
int is_autocmd_blocked(void)
{
return autocmd_blocked != 0;
}
/* /*
* Find next autocommand pattern that matches. * Find next autocommand pattern that matches.
*/ */

View File

@@ -73,7 +73,6 @@ int has_textchangedI(void);
int has_insertcharpre(void); int has_insertcharpre(void);
void block_autocmds(void); void block_autocmds(void);
void unblock_autocmds(void); void unblock_autocmds(void);
int is_autocmd_blocked(void);
char_u *getnextac(int c, void *cookie, int indent); char_u *getnextac(int c, void *cookie, int indent);
int has_autocmd(event_T event, char_u *sfname, buf_T *buf); int has_autocmd(event_T event, char_u *sfname, buf_T *buf);
char_u *get_augroup_name(expand_T *xp, int idx); char_u *get_augroup_name(expand_T *xp, int idx);