mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(auto-save-file-name-transforms): Make sure ange-ftp temp
files files don't contain an accidental additional /.
This commit is contained in:
parent
cc9f53769f
commit
b1e5937ca1
@ -293,7 +293,7 @@ Normally auto-save files are written under other names."
|
||||
: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))
|
||||
|
Loading…
Reference in New Issue
Block a user