emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Kai Großjohann
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Wed, 21 Nov 2001 03:32:57 -0500

Index: emacs/lisp/files.el
diff -u emacs/lisp/files.el:1.536 emacs/lisp/files.el:1.537
--- emacs/lisp/files.el:1.536   Sat Nov 10 20:53:50 2001
+++ emacs/lisp/files.el Wed Nov 21 03:32:57 2001
@@ -286,7 +286,8 @@
   :group 'auto-save)
 
 (defcustom auto-save-file-name-transforms
-  '(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/tmp/\\2"))
+  `(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
+     ,(expand-file-name "\\2" temporary-file-directory)))
   "*Transforms to apply to buffer file name before making auto-save file name.
 Each transform is a list (REGEXP REPLACEMENT):
 REGEXP is a regular expression to match against the file name.
@@ -296,8 +297,9 @@
 When one transform applies, its result is final;
 no further transforms are tried.
 
-The default value is set up to put the auto-save file into `/tmp'
-for editing a remote file."
+The default value is set up to put the auto-save file into the
+temporary directory (see the variable `temporary-file-directory') for
+editing a remote file."
   :group 'auto-save
   :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement")))
   :version "21.1")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]