Commit b865c14e authored by Eli Zaretskii's avatar Eli Zaretskii

(auto-save-file-name-transforms): Fix last change.

parent 74974a34
......@@ -296,7 +296,7 @@ Normally auto-save files are written under other names."
`(("\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
;; Don't put "\\2" inside expand-file-name, since it will be
;; transformed to "/2" on DOS/Windows.
,(concat (expand-file-name temporary-file-directory) "\\2")))
,(concat temporary-file-directory "\\2")))
"*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.
......
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