updated for version 7.0174

This commit is contained in:
Bram Moolenaar
2005-12-19 22:15:59 +00:00
parent a9b1e74b5d
commit bb1004ee56

View File

@ -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 */