summaryrefslogtreecommitdiff
path: root/doc/lispref/backups.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-08-26 13:46:56 +0300
committerEli Zaretskii <eliz@gnu.org>2020-08-26 13:46:56 +0300
commit32f4fa80b59513e26a50eebb90045ba4d2a8003f (patch)
tree23ab243003d35cb61be67617b8a2e93537662f21 /doc/lispref/backups.texi
parent7e809b9ef7b8e07851525ffb9c03a02c5ea6af82 (diff)
downloademacs-32f4fa80b59513e26a50eebb90045ba4d2a8003f.tar.gz
; * doc/lispref/backups.texi (Auto-Saving): Fix wording of last change.
Diffstat (limited to 'doc/lispref/backups.texi')
-rw-r--r--doc/lispref/backups.texi25
1 files changed, 12 insertions, 13 deletions
diff --git a/doc/lispref/backups.texi b/doc/lispref/backups.texi
index e651ef8c554..379279575ca 100644
--- a/doc/lispref/backups.texi
+++ b/doc/lispref/backups.texi
@@ -467,27 +467,26 @@ non-@code{nil} and @code{buffer-saved-size} (see below) is non-zero.
@end deffn
@defvar auto-save-file-name-transforms
-This variable lists transforms to apply to buffer file name before
-making auto-save file name.
+This variable lists transforms to apply to buffer's file name before
+making the auto-save file name.
-Each transform is a list of the form @code{(@var{regexp}
-@var{replacement} [@var{uniquify}])}: @var{regexp} is a regular
-expression to match against the file name. If it matches,
+Each transform is a list of the form @w{@code{(@var{regexp}
+@var{replacement} [@var{uniquify}])}}. @var{regexp} is a regular
+expression to match against the file name; if it matches,
@code{replace-match} is used to replace the matching part with
@var{replacement}. If the optional element @var{uniquify} is non-nil,
-the auto-save file name is constructed by taking the directory part of
-the replaced file-name, concatenated with the buffer file name with
-all directory separators changed to @samp{!} to prevent clashes. This
-will not work correctly if your filesystem truncates the resulting
-name.
+the auto-save file name is constructed by concatenating the directory
+part of the transformed file name with the buffer's file name in which
+all directory separators were changed to @samp{!} to prevent clashes.
+(This will not work correctly if your filesystem truncates the
+resulting name.)
All the transforms in the list are tried, in the order they are listed.
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 the
-temporary directory (@pxref{Unique File Names}) for editing a
-remote file.
+The default value is set up to put the auto-save files of remote files
+into the temporary directory (@pxref{Unique File Names}).
On MS-DOS filesystems without long names this variable is always
ignored.