Quote:
Originally Posted by nakkaya
that is not a wise idea but you can collect them under one folder i collect them under .save this is more secure. some times you just need them.
;;save everything to a folder
(setq
backup-by-copying t ; don't clobber symlinks
backup-directory-alist
'(("." . "~/.saves")) ; don't litter my fs tree
delete-old-versions t
kept-new-versionhs 6
kept-old-versions 2
version-control t) ; use versioned backups
|
nakkaya, I'll try yours out.
I just have this one-liner (make sure you make the directory ~/.emacs_backups/:
Code:
;; Save all backup file in this directory.
(setq backup-directory-alist (quote ((".*" . "~/.emacs_backups/"))))