From: W. Trevor King Date: Wed, 26 Nov 2008 17:46:03 +0000 (-0500) Subject: Keep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a960c153ec45686aa0d56a91a3bbf9a1ea6844c3;p=dotfiles-public.git Keep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles --- diff --git a/_emacs b/_emacs index 34bc6cf..bd215f4 100644 --- a/_emacs +++ b/_emacs @@ -34,6 +34,13 @@ (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