0
0
mirror of https://github.com/vim/vim.git synced 2025-08-27 20:13:38 -04:00

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 == '#') else if (*p == '#')
{ {
#ifdef FEAT_AUTOCMD #ifdef FEAT_AUTOCMD
name = p + 1; n = au_exists(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);
#endif #endif
} }
else /* internal variable */ else /* internal variable */