Merge pull request #35 from stephen679/set_keyword_selector

[bug fix] walk: filter \set keyword correctly
This commit is contained in:
Vincent Batts 2016-07-21 13:51:47 -04:00 committed by GitHub
commit 20279bacf2
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ func Walk(root string, exlcudes []ExcludeFunc, keywords []string) (*DirectoryHie
Name: "/set",
Type: SpecialType,
Pos: len(creator.DH.Entries),
Keywords: append(defaultSetKeywords, klist...),
Keywords: keywordSelector(append(defaultSetKeywords, klist...), keywords),
}
creator.curSet = &e
creator.DH.Entries = append(creator.DH.Entries, e)