From: Kai Großjohann Date: Fri, 13 Jun 2003 08:40:16 +0000 (+0000) Subject: (Fcopy_file): Doc fix: copies file modes, too. X-Git-Tag: ttn-vms-21-2-B4~9661 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8f75eda19093a5d0f5ef462a16c32753cca79c1;p=emacs.git (Fcopy_file): Doc fix: copies file modes, too. --- diff --git a/src/ChangeLog b/src/ChangeLog index ce524bfd6e2..fdd84be27de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/fileio.c b/src/fileio.c index db5cab44756..fa8958c11b4 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2386,7 +2386,8 @@ A number as third arg means request confirmation if NEWNAME already exists. 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; {