diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index e6e712bdf..eef865a4b 100644 --- a/src/eval.c +++ b/src/eval.c @@ -8459,7 +8459,10 @@ f_exists(argvars, rettv) else if (*p == '#') { #ifdef FEAT_AUTOCMD - n = au_exists(p + 1); + if (p[1] == '#') + n = autocmd_supported(p + 2); + else + n = au_exists(p + 1); #endif } else /* internal variable */ |