Hi!

On Fri, Apr 25, 2014 at 03:27:40PM +0200, Bram Moolenaar wrote:
> > My guess right solution should be
> >     fun s:Foo()
> >     endfun
> >     let g:Foo = function('s:Foo')
> > but I'm not 100% sure.
> 
> That should be the right way.  The more things are script-local the
> better.  But check that it actually works.

One thing will break in my code because of this change: exists('*Foo') now
return false. Is this correct behaviour in case g:Foo contains Funcref?

-- 
                        WBR, Alex.

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