Domanda

How do I ask Emacs (Aquamacs, in my case) to make backups not only of the documents I work on, but also of customization files such as customizations.el?

È stato utile?

Soluzione

In addition to the backup configuration that Dualinity has described, I'd suggest you put all your emacs customizations under version control (git, hg, bzr, etc.). Many times I've needed to revert my customizations due to unintended side-effects. Reviewing changes you made from six months ago is trivial if you check in all your changes as you make them.

Altri suggerimenti

For example by putting (setq custom-file "~/.emacs-custom.el") in your .emacs file designating it as a custom file (of course, another name will do), followed by (load custom-file) which loads it.

Taken from: http://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Customizations.html

It also talks about different customizations for different versions.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top