From: Kai Großjohann Date: Fri, 13 Jun 2003 08:39:58 +0000 (+0000) Subject: (Changing Files): copy-file copies file modes, too. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/fbcffa4ab13148ab56a52bd6ed95459c1c64f0c9 (Changing Files): copy-file copies file modes, too. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index e85e2c864a..939d19f6b8 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,7 @@ +2003-06-13 Kai Gro,A_(Bjohann + + * files.texi (Changing Files): copy-file copies file modes, too. + 2003-05-28 Richard M. Stallman * strings.texi (Creating Strings): Clarify split-string. diff --git a/lispref/files.texi b/lispref/files.texi index 875b306605..0c66a3602e 100644 --- a/lispref/files.texi +++ b/lispref/files.texi @@ -1277,6 +1277,8 @@ the same last-modified time that the old one has. (This works on only some operating systems.) If setting the time gets an error, @code{copy-file} signals a @code{file-date-error} error. +This function copies the file modes, too. + In an interactive call, this function prompts for @var{filename} and @var{newname} in the minibuffer; also, it requests confirmation if @var{newname} already exists.