next up previous contents
Next: Introduction to Emacs Up: Basics Previous: Starting Emacs

Saving Files and Exiting from Emacs

You can always exit Emacs/Epoch with C-x C-c, i.e., press and hold CONTROL (or on a PC, CTRL) and then press x followed by c, and then release CONTROL. This will put you back at the command prompt if you were in Emacs. If you are in OpenWindows, this kills the Epoch process. If you modified any files, but did not save them, you will be prompted to do so before exiting. To exit and save all modified buffers without being prompted, use C-u C-x C-c instead. You can also exit via C - ( CONTROL MINUS). The respective functions keys bindings are labeled SAVE and SAVE-MOD on F12 and Meta-F12, will ``save the current file'' and ``save all files'', respectively. If you have multiple Epoch screens open, you can kill all but the last one by selecting the Quit option with the mouse.