From 882b0b86e634c7677ee2829c607affe7385c758a Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Mon, 23 Dec 2013 16:50:31 +0800 Subject: [PATCH] Fix an argument of `copy-file'. * doc/lispref/files.texi (Changing Files): Fix an argument of `copy-file'. --- doc/lispref/ChangeLog | 2 ++ doc/lispref/files.texi | 2 +- etc/NEWS | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index c598cf0f5aa..6fd0f6a271b 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,7 @@ 2013-12-23 Xue Fuqiao + * files.texi (Changing Files): Fix an argument of `copy-file'. + * strings.texi (Creating Strings): Document TRIM in `split-string'. 2013-12-23 Chong Yidong diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 944a1e37cc4..c1eae5eefa3 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -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, diff --git a/etc/NEWS b/etc/NEWS index a638a613ae2..3e56b49bfe5 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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. -- 2.11.4.GIT