1 ;------------------------------------------------------------------------------
2 ; Set up a more organized version control
4 ; Backups are saved to ~/.emacs.d/.backup, and autosaves to
5 ; ~/.emacs.d/.autosave. If ~/.emacs.d/.backup doesn't exist it is
6 ; created. If ~/.emacs.d/.autosave doesn't exist it is created, the
7 ; standard autosave procedure is followed.
9 ; following J.T. Halbert at http://www.math.umd.edu/~halbert/dotemacs.html
10 ; and the Emacs manual at
11 ; http://www.gnu.org/software/emacs/manual/html_node/emacs/Backup-Names.html
13 (setq backup-directory-alist (quote ((".*" . "~/.emacs.d/.backup"))))
14 (defconst use-backup-dir t) ; Use backup directory
16 ; From http://www.delorie.com/gnu/docs/emacs/emacs_125.html
17 ; Emacs records interrupted sessions for later recovery in files named
18 ; `~/.emacs.d/auto-save-list/.saves-pid-hostname'. The
19 ; `~/.emacs.d/auto-save-list/.saves-' portion of these names comes
20 ; from the value of auto-save-list-file-prefix.
21 (setq auto-save-list-file-prefix "~/.emacs.d/.auto-save-list/.saves-")