Commit 2e05d063 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(auto-save-list-file-prefix): New variable.

(normal-top-level): Use it.
parent 4ac2e032
...@@ -225,6 +225,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.") ...@@ -225,6 +225,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
(defvar user-mail-address nil (defvar user-mail-address nil
"*Full mailing address of this user.") "*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-debug nil)
(defvar init-file-had-error nil) (defvar init-file-had-error nil)
...@@ -274,10 +279,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.") ...@@ -274,10 +279,11 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
(or mail-host-address (or mail-host-address
(system-name)))) (system-name))))
;; Specify the file for recording all the auto save files of this session. ;; 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 (setq auto-save-list-file-name
(expand-file-name (expand-file-name
(format "~/.saves-%d-%s" (format "%s%d-%s"
auto-save-list-file-prefix
(emacs-pid) (emacs-pid)
(system-name)))) (system-name))))
(let ((menubar-bindings-done nil)) (let ((menubar-bindings-done nil))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment