Preserve swap files after crash
commit3aee15e067e230457c26990e53f8314acdc0cd6d
authorBjorn Winckler <bjorn.winckler@gmail.com>
Thu, 15 Nov 2007 21:04:06 +0000 (15 22:04 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Thu, 15 Nov 2007 21:04:06 +0000 (15 22:04 +0100)
treedcf53ef00a3b403a9676437de8821c32f490d1c6
parent723ee0e64cbc6852b9b3c393f8d1caf1670a1301
Preserve swap files after crash

Before terminating gracefully, send a TerminateNowMsgID to every Vim process so
that they can determine whether MacVim quit or crashed.  If MacVim quits, call
getout() to exit Vim (this removes swap files), otherwise call
getout_preserve_modified() (this preserves swap files).
src/MacVim/MMAppController.m
src/MacVim/MMBackend.h
src/MacVim/MMBackend.m
src/MacVim/MacVim.h
src/MacVim/MacVim.m
src/main.c