# HG changeset patch # User Bram Moolenaar # Date 1281284988 -7200 # Node ID d7ecfc8b784ca9718586723f5e29d9e62175c1b6 # Parent d890c820722f9368a5cb18a17759f63119fcc630 Update help about wildcards in 'tags' option. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3e. Last change: 2010 Aug 04 +*options.txt* For Vim version 7.3e. Last change: 2010 Aug 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -6887,8 +6887,11 @@ A jump table for the options with a shor 'cpoptions'. Environment variables are expanded |:set_env|. Also see |tags-option|. "*", "**" and other wildcards can be used to search for tags files in - a directory tree. See |file-searching|. {not available when compiled - without the |+path_extra| feature} + a directory tree. See |file-searching|. E.g., "/lib/**/tags" will + find all files named "tags" below "/lib". The filename itself cannot + contain wildcards, it is used as-is. E.g., "/lib/**/tags?" will find + files called "tags?". {not available when compiled without the + |+path_extra| feature} The |tagfiles()| function can be used to get a list of the file names actually used. If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -35,9 +35,6 @@ Before release 7.3: Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5) -When directory "/tmp/tags" contains "tags1" and "tags2", setting 'tags' to -"/tmp/tags/*" doesn't pick up these files. (Simon Ruggier, 2010 Mar 17) - ":command Print echo 'print'" works, but ":Print" doesn't. Builtin Print should be overruled. (Aaron Thoma) diff --git a/src/misc2.c b/src/misc2.c --- a/src/misc2.c +++ b/src/misc2.c @@ -4248,7 +4248,7 @@ vim_findnext() #endif /* - * Initialization routine for vim_findfile. + * Initialization routine for vim_findfile(). * * Returns the newly allocated search context or NULL if an error occurred. *