1
0
forked from aniani/vim

patch 7.4.1551

Problem:    Cannot generate help tags in all doc directories.
Solution:   Make ":helptags ALL" work.
This commit is contained in:
Bram Moolenaar
2016-03-12 21:28:26 +01:00
parent 2d8f56acb3
commit 6bef5306e4
6 changed files with 172 additions and 132 deletions

View File

@@ -2928,10 +2928,6 @@ source_runtime(char_u *name, int all)
return do_in_runtimepath(name, all, source_callback, NULL);
}
#define DIP_ALL 1 /* all matches, not just the first one */
#define DIP_DIR 2 /* find directories instead of files. */
#define DIP_ERR 4 /* give an error message when none found. */
/*
* Find the file "name" in all directories in "path" and invoke
* "callback(fname, cookie)".
@@ -2942,7 +2938,7 @@ source_runtime(char_u *name, int all)
*
* return FAIL when no file could be sourced, OK otherwise.
*/
static int
int
do_in_path(
char_u *path,
char_u *name,