Mercurial > vim
diff src/ex_cmds2.c @ 8522:721e8d6cb7b5 v7.4.1551
commit https://github.com/vim/vim/commit/6bef5306e4f2cacb3a93667992c2312d4b293c9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 12 21:28:26 2016 +0100
patch 7.4.1551
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Mar 2016 21:30:04 +0100 |
parents | b4350a4d1e01 |
children | 2f57bbe870ea |
line wrap: on
line diff
--- 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,