Fix an argument of `copy-file'.

* doc/lispref/files.texi (Changing Files): Fix an argument of `copy-file'.
This commit is contained in:
Xue Fuqiao 2013-12-23 16:50:31 +08:00
parent c2d736b4e7
commit 882b0b86e6
3 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2013-12-23 Xue Fuqiao <xfq.free@gmail.com>
* files.texi (Changing Files): Fix an argument of `copy-file'.
* strings.texi (Creating Strings): Document TRIM in `split-string'.
2013-12-23 Chong Yidong <cyd@gnu.org>

View file

@ -1550,7 +1550,7 @@ with @code{add-name-to-file} and then deleting @var{filename} has the
same effect as renaming, aside from momentary intermediate states.
@end deffn
@deffn Command copy-file oldname newname &optional ok-if-exists time preserve-uid-gid preserve-selinux
@deffn Command copy-file oldname newname &optional ok-if-exists time preserve-uid-gid preserve-extended-attributes
This command copies the file @var{oldname} to @var{newname}. An
error is signaled if @var{oldname} does not exist. If @var{newname}
names a directory, it copies @var{oldname} into that directory,

View file

@ -993,6 +993,7 @@ the start and end of each substring.
** File-handling changes
+++
*** Support for filesystem notifications.
Emacs now supports notifications of filesystem changes, such as
creation, modification, and deletion of files. This requires the
@ -1000,11 +1001,13 @@ creation, modification, and deletion of files. This requires the
MS-Windows systems, this is supported for Windows XP and newer
versions.
+++
*** The 9th element returned by `file-attributes' is now unspecified.
Formerly, it was t if the file's gid would change if file were deleted
and recreated. This value has been inaccurate for years on many
platforms, and nobody seems to have noticed or cared.
+++
*** The 6th argument to `copy-file' has been renamed to
PRESERVE-EXTENDED-ATTRIBUTES as it now handles both SELinux context
and ACL entries.