summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index 7af5f56ff..17b1748df 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -2422,7 +2422,6 @@ has_autocmd(event_T event, char_u *sfname, buf_T *buf)
return retval;
}
-#if defined(FEAT_CMDL_COMPL) || defined(PROTO)
/*
* Function given to ExpandGeneric() to obtain the list of autocommand group
* names.
@@ -2507,7 +2506,6 @@ get_event_name(expand_T *xp UNUSED, int idx)
return (char_u *)event_names[idx - augroups.ga_len].name;
}
-#endif // FEAT_CMDL_COMPL
#if defined(FEAT_EVAL) || defined(PROTO)
/*