Search code examples
emacsdot-emacs

How can I save my Emacs settings?


I am using the Emacs editor, and every time I start Emacs, I lose my previous settings.

For example, every time I have to type:

  • M-x cua-mode RET
  • M-x auto-complete-mode RET

How can I save my settings in Emacs?

Thanks.


Solution

  • The best answer I can think of is to point you at the manual:
    http://www.gnu.org/software/emacs/manual/html_node/emacs/Customization.html

    In particular, see the sections on "Easy Customization" and the "Init File"; but I would recommend at least skimming over everything in this section.