summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-22 22:47:02 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-22 22:47:02 +0000
commitf4cd3e8074641af68bf2b6a8579c3da58f0ac013 (patch)
treee0d8399f0df9baaaff825e575da4625935c64583 /src/eval.c
parentbb1004ee56bde6345b469568e2bdd86b54b32bf7 (diff)
downloadvim-f4cd3e8074641af68bf2b6a8579c3da58f0ac013.zip
updated for version 7.0175
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
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 */