diff options
| author | Kai Großjohann | 2003-06-13 08:40:16 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2003-06-13 08:40:16 +0000 |
| commit | b8f75eda19093a5d0f5ef462a16c32753cca79c1 (patch) | |
| tree | d4646a3c1fda7b1a56a2fd6437ba0a4c95262ce5 /src | |
| parent | fbcffa4ab13148ab56a52bd6ed95459c1c64f0c9 (diff) | |
| download | emacs-b8f75eda19093a5d0f5ef462a16c32753cca79c1.tar.gz emacs-b8f75eda19093a5d0f5ef462a16c32753cca79c1.zip | |
(Fcopy_file): Doc fix: copies file modes, too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fileio.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ce524bfd6e2..fdd84be27de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2003-06-13 Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net> | ||
| 2 | |||
| 3 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | ||
| 4 | |||
| 1 | 2003-06-12 Kenichi Handa <handa@m17n.org> | 5 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
| 2 | 6 | ||
| 3 | * fileio.c (Fwrite_region): Save and restore restriction. | 7 | * 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. | |||
| 2386 | This is what happens in interactive use with M-x. | 2386 | This is what happens in interactive use with M-x. |
| 2387 | Fourth arg KEEP-TIME non-nil means give the new file the same | 2387 | Fourth arg KEEP-TIME non-nil means give the new file the same |
| 2388 | last-modified time as the old one. (This works on only some systems.) | 2388 | last-modified time as the old one. (This works on only some systems.) |
| 2389 | A prefix arg makes KEEP-TIME non-nil. */) | 2389 | A prefix arg makes KEEP-TIME non-nil. |
| 2390 | Also set the file modes of the target file to match the source file. */) | ||
| 2390 | (file, newname, ok_if_already_exists, keep_time) | 2391 | (file, newname, ok_if_already_exists, keep_time) |
| 2391 | Lisp_Object file, newname, ok_if_already_exists, keep_time; | 2392 | Lisp_Object file, newname, ok_if_already_exists, keep_time; |
| 2392 | { | 2393 | { |