I'm trying to customize the standard library function with my own. However,
I want the scripts to proceed irrespective of the actual function.

So, I do this to create my own default handler for 'Taglist':

if exists("*Taglist") == 0
    let Taglist = function("taglist")
endif

And in the scripts, I call:

let blah = Taglist(".*")


if I try an exists("*Taglist") on the command line, it shows a "1".
However, inside the script, the name "Taglist" is not recognized. Is this
possible or have I got something wrong somewhere?


Thanks!
Hari

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to