summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-19 22:15:59 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-19 22:15:59 +0000
commitbb1004ee56bde6345b469568e2bdd86b54b32bf7 (patch)
treef19aba3b302e755281bbd31c5e2ff67d462fbeef
parenta9b1e74b5d1d59c0a071ccacfe9aaaca9b4a5cca (diff)
downloadvim-bb1004ee56bde6345b469568e2bdd86b54b32bf7.zip
updated for version 7.0174
-rw-r--r--src/eval.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c
index fb8e00586..e6e712bdf 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -8459,12 +8459,7 @@ f_exists(argvars, rettv)
else if (*p == '#')
{
#ifdef FEAT_AUTOCMD
- name = p + 1;
- p = vim_strchr(name, '#');
- if (p != NULL)
- n = au_exists(name, p, p + 1);
- else
- n = au_exists(name, name + STRLEN(name), NULL);
+ n = au_exists(p + 1);
#endif
}
else /* internal variable */