Preserve swap files after crash
commit7460b7c836dadb67fb68a8df40e5d6c9c612e615
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)
tree9f952b09f738a631b10bf3169bee654a270f5868
parentd9a21987efce9fcc5f254e2e17fe6b361781b683
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