From a960c153ec45686aa0d56a91a3bbf9a1ea6844c3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 26 Nov 2008 12:46:03 -0500 Subject: [PATCH] Keep the emacs autosave-list ~/.auto-save-list to avoid cluttering ~/.dotfiles --- _emacs | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.26.2