Hello,
If a global function is defined in an autoload script it
can be called, but it doesn't exist().
Is this behaviour intended?
Example:
" autoload/extest.vim
function! extest#Init()
endfunc
function! ExTest()
echom "ExTest works! exists('ExTest')=" . exists("ExTest") . ",
exists('g:ExTest')=" . exists('g:ExTest')
endfunc
---------
(gvim 7.2.303)
:call extest#init()
:echo exists("ExTest")
0
:echo exists("g:ExTest")
0
:echo exists("extest#ExTest")
0
:call ExTest()
ExTest works! exists('ExTest')=0, exists('g:ExTest')=0
Marko
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php