Bob Hiestand wrote:

> On Thu, Sep 3, 2009 at 6:13 AM, Bram Moolenaar<[email protected]> wrote:
> 
> >> Here's a probably better patch, and a test case to show the behavior I
> >> expect from exists() with respect to autocommands:
> >
> > Thanks for the patch and testcase script.  Would you be able to turn the
> > script into a test for src/testdir?  That will greatly help avoid
> > regressions.
> 
> Sure, something like the following?

Looks good.

To make it a bit easier to locate any exists() that doesn't do what was
expected, can you make it:

  :call add(results, '##BufEnter: ' + exists('##BufEnter'))


-- 
I'm in shape.  Round IS a shape.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui