# HG changeset patch # User Kai Grojohann # Date 1055493616 0 # Node ID b4847cd4179fe41caf51a47cf424aaa3a4f7842f # Parent 5a85c7c1d3ab4d65abe9f51d898e5d7ea563b610 (Fcopy_file): Doc fix: copies file modes, too. diff -r 5a85c7c1d3ab -r b4847cd4179f src/ChangeLog --- 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 + + * fileio.c (Fcopy_file): Doc fix: copies file modes, too. + 2003-06-12 Kenichi Handa * fileio.c (Fwrite_region): Save and restore restriction. diff -r 5a85c7c1d3ab -r b4847cd4179f src/fileio.c --- 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; {