On 09/04/09 08:08, Christian Brabandt wrote:
>
> Hi Tony!
>
> On Do, 09 Apr 2009, Tony Mechelynck wrote:
>
>>
>> function ClearBuffers(...)
>>      " usage:
>>      " call ClearBufffers([wipeout [, listed  [, unlisted]]])
>>      " where each of the optional arguments is a Boolean
>>      " wipeout   != 0 to wipeout (otherwise delete)
>>      " listed    != 0 to clear listed buffers
>>      " unlisted  != 0 to clear unlisted buffers
>>      " the current buffer is always kept
>
> What is the function supposed to to, when you call it without
> arguments? Not do anything, like it does currently?
>
> regards,
> Christian

Yeah, stupid of me. Change the default for clearing listed buffers:

        let listed = a:0 < 2 || a:2

All the rest can (if I didn't goof) be left unchanged.


Best regards,
Tony.
-- 
Next Friday will not be your lucky day.  As a matter of fact, you don't
have a lucky day this year.

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

Reply via email to