Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
747981b0
Commit
747981b0
authored
Mar 29, 2002
by
Eli Zaretskii
Browse files
(auto-save-file-name-transforms): Don't run "\\2" via expand-file-name.
parent
8bff61e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/files.el
lisp/files.el
+3
-1
No files found.
lisp/files.el
View file @
747981b0
...
...
@@ -294,7 +294,9 @@ Normally auto-save files are written under other names."
(
defcustom
auto-save-file-name-transforms
`
((
"\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
,
(
expand-file-name
"\\2"
temporary-file-directory
)))
;; 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"
)))
"*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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment