Thursday, July 22, 2010

Re: bufexists()

Hi John and thanks for replay

I found the bug in my scripts.

Mostafa



On Thu, Jul 22, 2010 at 11:58 AM, John Beckett <johnb.beckett@gmail.com> wrote:
Mostafa S.Ari wrote:
> bufexists() function in addition to its return value throw an
> error message when it can not find the buffer feeded as
> parameter.

I don't see that. If I enter the following:

 :echo bufexists(1234) bufexists('hello')

it simply echoes "0 0" (these two buffers do not exist).

Are you saying you get an error when doing the above?
What Vim version?

John

--
You received this message from the "vim_use" 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 from the "vim_use" 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

No comments:

Post a Comment