1
0
forked from aniani/vim

updated for version 7.2b-029

This commit is contained in:
Bram Moolenaar
2008-08-06 13:03:07 +00:00
parent 1b8d33b6b2
commit c62e2fe59e
3 changed files with 12 additions and 2 deletions

View File

@@ -4387,7 +4387,10 @@ ExpandFromContext(xp, pat, num_file, file, options)
*num_file = 0;
if (xp->xp_context == EXPAND_HELP)
{
if (find_help_tags(pat, num_file, file, FALSE) == OK)
/* With an empty argument we would get all the help tags, which is
* very slow. Get matches for "help" instead. */
if (find_help_tags(*pat == NUL ? (char_u *)"help" : pat,
num_file, file, FALSE) == OK)
{
#ifdef FEAT_MULTI_LANG
cleanup_help_tags(*num_file, *file);