changeset 51559:b4847cd4179f

(Fcopy_file): Doc fix: copies file modes, too.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Fri, 13 Jun 2003 08:40:16 +0000
parents 5a85c7c1d3ab
children 12371b18ce00
files src/ChangeLog src/fileio.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jun 13 08:39:58 2003 +0000
+++ b/src/ChangeLog	Fri Jun 13 08:40:16 2003 +0000
@@ -1,3 +1,7 @@
+2003-06-13  Kai Gro,A_(Bjohann  <kai.grossjohann@gmx.net>
+
+	* fileio.c (Fcopy_file): Doc fix: copies file modes, too.
+
 2003-06-12  Kenichi Handa  <handa@m17n.org>
 
 	* fileio.c (Fwrite_region): Save and restore restriction.
--- a/src/fileio.c	Fri Jun 13 08:39:58 2003 +0000
+++ b/src/fileio.c	Fri Jun 13 08:40:16 2003 +0000
@@ -2386,7 +2386,8 @@
 This is what happens in interactive use with M-x.
 Fourth arg KEEP-TIME non-nil means give the new file the same
 last-modified time as the old one.  (This works on only some systems.)
-A prefix arg makes KEEP-TIME non-nil.  */)
+A prefix arg makes KEEP-TIME non-nil.
+Also set the file modes of the target file to match the source file.  */)
      (file, newname, ok_if_already_exists, keep_time)
      Lisp_Object file, newname, ok_if_already_exists, keep_time;
 {