Commit 73f13e5a authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(auto-save-list-file-prefix): Set default to

`~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
parent b272d624
......@@ -317,13 +317,16 @@ after your init file is read, in case it sets `mail-host-address'."
: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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment