I suppose it could be useful for the autocommands.
The help isn't very clear about when the value is valid.
There are four autocommand events related to exiting.
How about "QuitPre" ?
Also, v:exiting suggests it's a flag about whether Vim will exit.
But the help says it's the exit value. Shouldn't it be v:exitvalue
then?
There are situations where Vim may exit, but it is cancelled (when using
a prompt or dialog). What happens then?
--
MORTICIAN: Bring out your dead!
[clang]
Bring out your dead!
[clang]
Bring out your dead!
CUSTOMER: Here's one -- nine pence.
DEAD PERSON: I'm not dead!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///