From b8f75eda19093a5d0f5ef462a16c32753cca79c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20Gro=C3=9Fjohann?= Date: Fri, 13 Jun 2003 08:40:16 +0000 Subject: [PATCH] (Fcopy_file): Doc fix: copies file modes, too. --- src/ChangeLog | 4 ++++ src/fileio.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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; { -- 2.39.2