Created
April 4, 2011 21:01
-
-
Save dbrady/902431 to your computer and use it in GitHub Desktop.
Potty-train emacs to stop littering the fs tree with ~ files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Do civilized backup names. Added by dbrady 2003-03-07, taken from | |
;; http://emacswiki.wikiwikiweb.de/cgi-bin/wiki.pl?BackupDirectory | |
;; | |
;; Don't forget to mkdir ~/saves | |
(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-versions 6 | |
kept-old-versions 2 | |
version-control t) ; use versioned backups | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment