Cade Forester wrote:

> diff -r f99b6efb5193 runtime/doc/eval.txt
> --- a/runtime/doc/eval.txt    Wed Mar 12 21:28:26 2014 +0100
> +++ b/runtime/doc/eval.txt    Sun Mar 16 13:16:10 2014 +0700
> @@ -6624,7 +6624,7 @@
>  :fu[nction][!] {name}([arguments]) [range] [abort] [dict]
>                       Define a new function by the name {name}.  The name
>                       must be made of alphanumeric characters and '_', and
> -                     must start with a capital or "s:" (see above).
> +                     must start with a capital, "g:" or "s:" (see above).
>  
>                       {name} can also be a |Dictionary| entry that is a
>                       |Funcref|: >

When "g:" is used the name must still start with a capital.  It has no
effect though, without "g:" the function is also global.

-- 
(letter from Mark to Mike, about the film's probable certificate)
      For an 'A' we would have to: Lose as many shits as possible; Take Jesus
      Christ out, if possible; Loose "I fart in your general direction"; Lose
      "the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your
      testicles"
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui