[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
temporary-file-directory breaks bootstrapping
From: |
Juanma Barranquero |
Subject: |
temporary-file-directory breaks bootstrapping |
Date: |
Wed, 21 Nov 2001 10:58:41 +0100 |
This patch from Kai breaks bootstrapping.
/L/e/k/t/u
2001-11-20 Kai Grossjohann <address@hidden>
* files.el (auto-save-file-name-transforms): Put remote files in
temporary-file-directory rather than /tmp.
Index: files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.536
retrieving revision 1.537
diff -u -r1.536 -r1.537
--- files.el 2001/11/11 01:53:50 1.536
+++ files.el 2001/11/21 08:32:57 1.537
@@ -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")
- temporary-file-directory breaks bootstrapping,
Juanma Barranquero <=