----- Original Message -----
> From: "Tim Johnson" <[email protected]>
> To: "vim use" <[email protected]>
> 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 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

Try 'exe ":silent! bdelete" i'

> 
> thanks
> -- Tim
> tim at johnsons-web.com or akwebsoft.com
> http://www.akwebsoft.com
> 
> -- 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

Reply via email to