diff options
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/autocmd.c b/src/autocmd.c index a409379b61..fe2b6cbb14 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -2519,6 +2519,7 @@ auto_next_pat( } } +#if defined(FEAT_EVAL) || defined(PROTO) /* * Get the script context where autocommand "acp" is defined. */ @@ -2527,6 +2528,7 @@ acp_script_ctx(AutoPatCmd_T *acp) { return &acp->script_ctx; } +#endif /* * Get next autocommand command. |