# HG changeset patch # User Richard M. Stallman # Date 812835675 0 # Node ID 3753d2ea3ab1fa49c8f146d932715664c2fd49d1 # Parent 61c560010274eb091ff2212bc67afc0e2d60e551 (auto-save-list-file-prefix): New variable. (normal-top-level): Use it. diff -r 61c560010274 -r 3753d2ea3ab1 lisp/startup.el --- a/lisp/startup.el Wed Oct 04 19:34:25 1995 +0000 +++ b/lisp/startup.el Wed Oct 04 19:41:15 1995 +0000 @@ -225,6 +225,11 @@ (defvar user-mail-address nil "*Full mailing address of this user.") +(defvar auto-save-list-file-prefix "~/.saves-" + "Prefix for generating auto-save-list-file-name. +Emacs's pid and the system name will be appended to +this prefix to create a unique file name.") + (defvar init-file-debug nil) (defvar init-file-had-error nil) @@ -274,10 +279,11 @@ (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. + ;; This is used by recover-session. (setq auto-save-list-file-name (expand-file-name - (format "~/.saves-%d-%s" + (format "%s%d-%s" + auto-save-list-file-prefix (emacs-pid) (system-name)))) (let ((menubar-bindings-done nil))