Don't execute some autocommands when v:dying is 2 or more.

This commit is contained in:
Bram Moolenaar
2010-05-28 21:07:08 +02:00
parent 1d68952a3e
commit 0e1e25fb0a
5 changed files with 46 additions and 30 deletions

View File

@ -7166,6 +7166,10 @@ don't save what you see. This could result in work being lost. Now the text
after recovery is compared to the original file contents. When they differ
the buffer is marked as modified.
When Vim is exiting because of a deadly signal, when v:dying is 2 or more,
VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not
executed.
Added *added-7.3*
-----