comparison lispref/files.texi @ 51558:5a85c7c1d3ab

(Changing Files): copy-file copies file modes, too.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Fri, 13 Jun 2003 08:39:58 +0000
parents 417a9e80f335
children 24b62b8f3def
comparison
equal deleted inserted replaced
51557:3df5bc22c5e4 51558:5a85c7c1d3ab
1274 1274
1275 If @var{time} is non-@code{nil}, then this function gives the new file 1275 If @var{time} is non-@code{nil}, then this function gives the new file
1276 the same last-modified time that the old one has. (This works on only 1276 the same last-modified time that the old one has. (This works on only
1277 some operating systems.) If setting the time gets an error, 1277 some operating systems.) If setting the time gets an error,
1278 @code{copy-file} signals a @code{file-date-error} error. 1278 @code{copy-file} signals a @code{file-date-error} error.
1279
1280 This function copies the file modes, too.
1279 1281
1280 In an interactive call, this function prompts for @var{filename} and 1282 In an interactive call, this function prompts for @var{filename} and
1281 @var{newname} in the minibuffer; also, it requests confirmation if 1283 @var{newname} in the minibuffer; also, it requests confirmation if
1282 @var{newname} already exists. 1284 @var{newname} already exists.
1283 @end deffn 1285 @end deffn