Wednesday, July 09, 2014

emacs: saves all the backup into a single folder

A nice settings suggested in http://www.emacswiki.org/emacs/BackupDirectory to get all your backup files created by emacs in a single folder, to do this I setup the following settings:
;; Put all backups in a folder
(setq
 backup-by-copying t
 backup-directory-alist `(("." . "~/.emacs_saves"))
 delete-old-versions t
 kept-new-versions 6
 kept-old-versions 2
 version-control t)

No comments :

Post a Comment