diff options
| author | Richard M. Stallman | 1995-10-04 19:41:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-04 19:41:15 +0000 |
| commit | 2e05d0632539ec68e9e2139158cb1b6c91a94a5e (patch) | |
| tree | 00b21b8450cd84c26a5e4c6bd6a9a27bb90654dc | |
| parent | 4ac2e032a51517c6c879d58854bb412df91ff913 (diff) | |
| download | emacs-2e05d0632539ec68e9e2139158cb1b6c91a94a5e.tar.gz emacs-2e05d0632539ec68e9e2139158cb1b6c91a94a5e.zip | |
(auto-save-list-file-prefix): New variable.
(normal-top-level): Use it.
| -rw-r--r-- | lisp/startup.el | 10 |
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. | ||
| 230 | Emacs's pid and the system name will be appended to | ||
| 231 | this 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)) |