Wednesday, July 20, 2016

Exception and error messages

Hi all,

I would like to call bdelete inside a function and just show the usual error message in case the current buffer was modified without saving, I mean without the exception-related stuff and the hit-enter prompt. Should I catch the exception and use errorhl ErrorMsg? (Notice that echoerr from the catch clause won't fit the bill since the "messaging overhead" I'm trying to avoid won't disappear).

Thank you a lot
--
Carlos

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: