changeset 13914:18d26aa4c25a

(normal-top-level): Add ~ at end of auto-save-list-file-prefix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Jan 1996 01:16:39 +0000
parents 4e4201bcea5d
children 1319e4b9aa6c
files lisp/startup.el
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Mon Jan 01 23:53:33 1996 +0000
+++ b/lisp/startup.el	Tue Jan 02 01:16:39 1996 +0000
@@ -353,9 +353,12 @@
 		       ;; 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)))))))