oops... forgot to attach the patch...

On Thu, Dec 1, 2011 at 11:03 PM, tyru <[email protected]> wrote:

> Hi list.
>
> I found a small small doc bugs.
> * maparg() can return Dictionary when {dict} was given.
>   so return value should be "String or Number"
> * garbagecollect(): "at_exit" => {at_exit} (argument should be presented
> as {arg} or [arg] , right?)
>

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 9abd62fd9e3a runtime/doc/eval.txt
--- a/runtime/doc/eval.txt	Wed Nov 30 17:20:23 2011 +0100
+++ b/runtime/doc/eval.txt	Thu Dec 01 22:59:01 2011 +0900
@@ -1841,7 +1841,7 @@
 log10( {expr})			Float	logarithm of Float {expr} to base 10
 map( {expr}, {string})		List/Dict  change each item in {expr} to {expr}
 maparg( {name}[, {mode} [, {abbr} [, {dict}]]])
-				String	rhs of mapping {name} in mode {mode}
+				String or Dictionary	rhs of mapping {name} in mode {mode}
 mapcheck( {name}[, {mode} [, {abbr}]])
 				String	check for mappings matching {name}
 match( {expr}, {pat}[, {start}[, {count}]])
@@ -3075,7 +3075,7 @@
 		This is useful if you have deleted a very big |List| and/or
 		|Dictionary| with circular references in a script that runs
 		for a long time.
-		When the optional "at_exit" argument is one, garbage
+		When the optional {at_exit} argument is one, garbage
 		collection will also be done when exiting Vim, if it wasn't
 		done before.  This is useful when checking for memory leaks.
 

Raspunde prin e-mail lui