aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c5
-rw-r--r--src/fileio.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d4448c2f16..e9aff651c5 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -7428,11 +7428,6 @@ void unblock_autocmds(void)
apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf);
}
-int is_autocmd_blocked(void)
-{
- return autocmd_blocked != 0;
-}
-
/*
* Find next autocommand pattern that matches.
*/
diff --git a/src/fileio.h b/src/fileio.h
index 150178b142..8b743aab0d 100644
--- a/src/fileio.h
+++ b/src/fileio.h
@@ -73,7 +73,6 @@ int has_textchangedI(void);
int has_insertcharpre(void);
void block_autocmds(void);
void unblock_autocmds(void);
-int is_autocmd_blocked(void);
char_u *getnextac(int c, void *cookie, int indent);
int has_autocmd(event_T event, char_u *sfname, buf_T *buf);
char_u *get_augroup_name(expand_T *xp, int idx);