summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-12 21:28:26 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-12 21:28:26 +0100
commit6bef5306e4f2cacb3a93667992c2312d4b293c9d (patch)
tree8e460dcff0698e3ca8c0b60f466705d024a75ab0 /src/ex_cmds2.c
parent2d8f56acb32428d0f965d42dd13b27100b46fa15 (diff)
patch 7.4.1551v7.4.1551
Problem: Cannot generate help tags in all doc directories. Solution: Make ":helptags ALL" work.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 616f7a078f..75146749b5 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -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,