Exit (ne’s manual)

Next: NewDoc, Previous: Quit, Up: Document Commands [Contents][Index]

#### 4.3.2 Exit

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 documents can be saved, so `Exit` will report an error if you have any modified unnamed documents. 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.