diff options
| author | Richard M. Stallman | 1995-10-23 16:59:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-23 16:59:47 +0000 |
| commit | b3c7c12c1b6c58cff8427b4e20b4a18412c0e131 (patch) | |
| tree | afc3d7f241e87e28b563efc726d52452bab2f1ef | |
| parent | 5e1515a85dc9e81c6ecbb90539c035da2f4f6efa (diff) | |
| download | emacs-b3c7c12c1b6c58cff8427b4e20b4a18412c0e131.tar.gz emacs-b3c7c12c1b6c58cff8427b4e20b4a18412c0e131.zip | |
(normal-top-level): Set auto-save-list-file-name later,
after calling command-line.
| -rw-r--r-- | lisp/startup.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 987bb8b7814..d02593d61e0 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -275,19 +275,19 @@ this prefix to create a unique file name.") | |||
| 275 | (delete (concat "PWD=" pwd) | 275 | (delete (concat "PWD=" pwd) |
| 276 | process-environment))))))) | 276 | process-environment))))))) |
| 277 | (setq default-directory (abbreviate-file-name default-directory)) | 277 | (setq default-directory (abbreviate-file-name default-directory)) |
| 278 | ;; Specify the file for recording all the auto save files of this session. | ||
| 279 | ;; This is used by recover-session. | ||
| 280 | (setq auto-save-list-file-name | ||
| 281 | (expand-file-name | ||
| 282 | (format "%s%d-%s" | ||
| 283 | auto-save-list-file-prefix | ||
| 284 | (emacs-pid) | ||
| 285 | (system-name)))) | ||
| 286 | (let ((menubar-bindings-done nil)) | 278 | (let ((menubar-bindings-done nil)) |
| 287 | (unwind-protect | 279 | (unwind-protect |
| 288 | (command-line) | 280 | (command-line) |
| 289 | ;; Do this again, in case .emacs defined more abbreviations. | 281 | ;; Do this again, in case .emacs defined more abbreviations. |
| 290 | (setq default-directory (abbreviate-file-name default-directory)) | 282 | (setq default-directory (abbreviate-file-name default-directory)) |
| 283 | ;; Specify the file for recording all the auto save files of this session. | ||
| 284 | ;; This is used by recover-session. | ||
| 285 | (setq auto-save-list-file-name | ||
| 286 | (expand-file-name | ||
| 287 | (format "%s%d-%s" | ||
| 288 | auto-save-list-file-prefix | ||
| 289 | (emacs-pid) | ||
| 290 | (system-name)))) | ||
| 291 | (run-hooks 'emacs-startup-hook) | 291 | (run-hooks 'emacs-startup-hook) |
| 292 | (and term-setup-hook | 292 | (and term-setup-hook |
| 293 | (run-hooks 'term-setup-hook)) | 293 | (run-hooks 'term-setup-hook)) |