]> git.eshelyaron.com Git - emacs.git/commitdiff
(normal-top-level): Add ~ at end of auto-save-list-file-prefix.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 Jan 1996 01:16:39 +0000 (01:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 Jan 1996 01:16:39 +0000 (01:16 +0000)
lisp/startup.el

index d8d432c279c48e91332664abeb0a8c3a78c7a603..8610f56a2b62337a6e0462789cff15f2a9d93c42 100644 (file)
@@ -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)))))))