diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-19 22:15:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-19 22:15:59 +0000 |
commit | bb1004ee56bde6345b469568e2bdd86b54b32bf7 (patch) | |
tree | f19aba3b302e755281bbd31c5e2ff67d462fbeef /src | |
parent | a9b1e74b5d1d59c0a071ccacfe9aaaca9b4a5cca (diff) |
updated for version 7.0174v7.0174
Diffstat (limited to 'src')
-rw-r--r-- | src/eval.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eval.c b/src/eval.c index fb8e005868..e6e712bdf1 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 */ |