changeset 2522:d7ecfc8b784c vim73

Update help about wildcards in 'tags' option.
author Bram Moolenaar <bram@vim.org>
date Sun, 08 Aug 2010 18:29:48 +0200
parents d890c820722f
children 0dffdd8f8871
files runtime/doc/options.txt runtime/doc/todo.txt src/misc2.c
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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)
 
--- 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.
  *