summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-30 19:50:00 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-30 19:50:00 +0000
commit2341f15cee13e3b10b941140668076ff2f83cda4 (patch)
tree731511fd02bff64b0a1a5ab3635215557cc5490f /lisp/startup.el
parente6a8877cee534bec8f0bf37914fbb27a77ad916c (diff)
downloademacs-2341f15cee13e3b10b941140668076ff2f83cda4.tar.gz
(normal-top-level): Set auto-save-list-file-name.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index e059ff0fc0d..c12e3c893b3 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -224,6 +224,13 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
(setq user-mail-address (concat (user-login-name) "@"
(or mail-host-address
(system-name))))
+ ;; Specify the file for recording all the auto save files of this session.
+ ;; This is used by multiple-recover.
+ (setq auto-save-list-file-name
+ (expand-file-name
+ (format "~/.saves-%d-%s"
+ (emacs-pid)
+ (or mail-host-address (system-name)))))
(let ((menubar-bindings-done nil))
(unwind-protect
(command-line)