Using vim 7.2 on slack 13.0 32-bit.
Example:
: bdelete 54
result
E516: No buffers were deleted
How may I suppress the message above?
Note: I have tried using 'silent', it doesn't
stop the message.
The goal is to use this in script.
As in
exe ":silent bdelete" i
or whatever is correct
than
- Original Message -
> From: "Tim Johnson"
> To: "vim use"
> Sent: Tuesday, May 18, 2010 4:55:17 PM
> Subject: How to suppress a message
> Using vim 7.2 on slack 13.0 32-bit.
>
> Example: : bdelete 54
> result
> E516: No buffers were de
On 2010-05-18, Tim Johnson wrote:
> Using vim 7.2 on slack 13.0 32-bit.
>
> Example:
> : bdelete 54
> result
> E516: No buffers were deleted
>
> How may I suppress the message above?
>
> Note: I have tried using 'silent', it doesn't
> stop the message.
> The goal is to use this in script.
* Bryan Venteicher [100518 14:39]:
> > As in
> > exe ":silent bdelete" i
> > or whatever is correct
>
> Try 'exe ":silent! bdelete" i'
Thanks to Bryan and Gary.
--
Tim
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com
--
You received this message from the "vim_use" maillist.
On May 18, 5:33 pm, Gary Johnson wrote:
> On 2010-05-18, Tim Johnson wrote:
>
> > Example:
> > : bdelete 54
> > result
> > E516: No buffers were deleted
>
> > How may I suppress the message above?
>
> > Note: I have tried using 'silent', it doesn't
> > stop the message.
> > The goal is to u