Next: NewDoc, Previous: Quit, Up: Document Commands [Contents][Index]
Syntax: Exit
Abbreviation: X
saves all modified documents, closes them and exits. If
any documents cannot be saved, the action is suspended and an error message
is issued and no documents are closed. Note that only named buffers can be
saved, so Exit
will report an error if you have any modified unnamed
buffers. Like SaveAll
, Exit
will not save a document if its
corresponding file has been modified since the document was loaded or last
saved, in which case an error is reported and no documents are closed.