Keep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles
authorW. Trevor King <wking@drexel.edu>
Wed, 26 Nov 2008 17:46:03 +0000 (12:46 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 26 Nov 2008 17:46:03 +0000 (12:46 -0500)
_emacs

diff --git a/_emacs b/_emacs
index 34bc6cf5aa4bded58907a2baa0a1be88d71e85f3..bd215f4bc3a72a45932a733b6f07c7d888a1db1f 100644 (file)
--- a/_emacs
+++ b/_emacs
 (setq backup-directory-alist (quote ((".*" . "~/.backup"))))
 (defconst use-backup-dir t)        ; Use backup directory
 
+; From http://www.delorie.com/gnu/docs/emacs/emacs_125.html
+; Emacs records interrupted sessions for later recovery in files named
+; `~/.emacs.d/auto-save-list/.saves-pid-hostname'. The
+; `~/.emacs.d/auto-save-list/.saves-' portion of these names comes
+; from the value of auto-save-list-file-prefix.
+(setq auto-save-list-file-prefix "~/.auto-save-list/.saves-")
+
 ; redefining the make-auto-save-file-name function in order to get
 ; autosave files sent to a single directory.  Note that this function
 ; looks first to determine if you have a ~/.autosave/ directory.  If