Mercurial > vim
diff runtime/doc/eval.txt @ 2226:36a9ac99e1ca vim73
Don't execute some autocommands when v:dying is 2 or more.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 28 May 2010 21:07:08 +0200 |
parents | f8222d1f9a73 |
children | dc2e5ec0500d |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1348,7 +1348,9 @@ v:dying Normally zero. When a deadly si terminate normally. {only works on Unix} Example: > :au VimLeave * if v:dying | echo "\nAAAAaaaarrrggghhhh!!!\n" | endif -< +< Note: if another deadly signal is caught when v:dying is one, + VimLeave autocommands will not be executed. + *v:errmsg* *errmsg-variable* v:errmsg Last given error message. It's allowed to set this variable. Example: >