aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index d7f7f55b5cb..772d619f889 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -225,6 +225,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
225(defvar user-mail-address nil 225(defvar user-mail-address nil
226 "*Full mailing address of this user.") 226 "*Full mailing address of this user.")
227 227
228(defvar auto-save-list-file-prefix "~/.saves-"
229 "Prefix for generating auto-save-list-file-name.
230Emacs's pid and the system name will be appended to
231this prefix to create a unique file name.")
232
228(defvar init-file-debug nil) 233(defvar init-file-debug nil)
229 234
230(defvar init-file-had-error nil) 235(defvar init-file-had-error nil)
@@ -274,10 +279,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
274 (or mail-host-address 279 (or mail-host-address
275 (system-name)))) 280 (system-name))))
276 ;; Specify the file for recording all the auto save files of this session. 281 ;; Specify the file for recording all the auto save files of this session.
277 ;; This is used by multiple-recover. 282 ;; This is used by recover-session.
278 (setq auto-save-list-file-name 283 (setq auto-save-list-file-name
279 (expand-file-name 284 (expand-file-name
280 (format "~/.saves-%d-%s" 285 (format "%s%d-%s"
286 auto-save-list-file-prefix
281 (emacs-pid) 287 (emacs-pid)
282 (system-name)))) 288 (system-name))))
283 (let ((menubar-bindings-done nil)) 289 (let ((menubar-bindings-done nil))