changeset 55678:f328087732d3

(auto-save-file-name-transforms): Make sure ange-ftp temp files files don't contain an accidental additional /.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 19 May 2004 00:30:43 +0000
parents 624ac8a21b21
children 839ccd7aaee0
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed May 19 00:24:15 2004 +0000
+++ b/lisp/files.el	Wed May 19 00:30:43 2004 +0000
@@ -293,7 +293,7 @@
   :group 'auto-save)
 
 (defcustom auto-save-file-name-transforms
-  `(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
+  `(("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'"
      ;; Don't put "\\2" inside expand-file-name, since it will be
      ;; transformed to "/2" on DOS/Windows.
      ,(concat temporary-file-directory "\\2") t))