How to save and exit in Emacs?

To save and exit in Emacs, follow these steps:

  1. Press Ctrl + X followed by Ctrl + S to save the file.
  2. Then, press Ctrl + X followed by Ctrl + C to exit Emacs.

If you have unsaved changes, Emacs will prompt you to save them before exiting.

0 Comments

no data
Be the first to share your comment!