changeset 28698:668b53a3e5f6

(auto-save-list-file-prefix): Set default to `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 24 Apr 2000 18:43:25 +0000
parents 7d587a158d1f
children 5d002ac53c60
files lisp/startup.el
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Mon Apr 24 18:41:54 2000 +0000
+++ b/lisp/startup.el	Mon Apr 24 18:43:25 2000 +0000
@@ -317,13 +317,16 @@
   :group 'mail)
 
 (defcustom auto-save-list-file-prefix
-  (if (eq system-type 'ms-dos)
-      "~/_s"  ; MS-DOS cannot have initial dot, and allows only 8.3 names
-    "~/.saves-")
+  (cond ((eq system-type 'ms-dos)
+	 ;; MS-DOS cannot have initial dot, and allows only 8.3 names
+	 "~/_s")
+	(t
+	 "~/.emacs.d/auto-save-list/.saves-"))
   "Prefix for generating `auto-save-list-file-name'.
 This is used after reading your `.emacs' file to initialize
 `auto-save-list-file-name', by appending Emacs's pid and the system name,
 if you have not already set `auto-save-list-file-name' yourself.
+Directories in the prefix will be created if necessary.
 Set this to nil if you want to prevent `auto-save-list-file-name'
 from being initialized."
   :type '(choice (const :tag "Don't record a session's auto save list" nil)