From 2c42ec0b0bf5181f0b812fda5b8bc03f752691d0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 2 Jan 1996 01:16:39 +0000 Subject: [PATCH] (normal-top-level): Add ~ at end of auto-save-list-file-prefix. --- lisp/startup.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index d8d432c279c..8610f56a2b6 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -353,9 +353,12 @@ from being initialized.") ;; Under MS-DOS our PID is almost always reused between ;; Emacs invocations. We need something more unique. (if (eq system-type 'ms-dos) - (make-temp-name - (expand-file-name auto-save-list-file-prefix)) - (expand-file-name (format "%s%d-%s" + (concat + (make-temp-name + (expand-file-name auto-save-list-file-prefix)) + "~") + + (expand-file-name (format "%s%d-%s~" auto-save-list-file-prefix (emacs-pid) (system-name))))))) -- 2.39.2