From: Bram Moolenaar Date: Mon, 19 Dec 2005 22:15:59 +0000 (+0000) Subject: updated for version 7.0174 X-Git-Tag: v7.0174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1004ee56bde6345b469568e2bdd86b54b32bf7;p=thirdparty%2Fvim.git updated for version 7.0174 --- 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 */