Mercurial > emacs
diff src/fileio.c @ 34633:3a16306fdadf
(Fcopy_file): Rename the last argument to keep_time, to
be consistent with the doc string.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 16 Dec 2000 15:31:03 +0000 |
parents | 2441e63b9d57 |
children | e90a76ca0b26 |
line wrap: on
line diff
--- a/src/fileio.c Sat Dec 16 15:13:31 2000 +0000 +++ b/src/fileio.c Sat Dec 16 15:31:03 2000 +0000 @@ -2278,8 +2278,8 @@ Fourth arg KEEP-TIME non-nil means give the new file the same\n\ last-modified time as the old one. (This works on only some systems.)\n\ A prefix arg makes KEEP-TIME non-nil.") - (file, newname, ok_if_already_exists, keep_date) - Lisp_Object file, newname, ok_if_already_exists, keep_date; + (file, newname, ok_if_already_exists, keep_time) + Lisp_Object file, newname, ok_if_already_exists, keep_time; { int ifd, ofd, n; char buf[16 * 1024]; @@ -2306,7 +2306,7 @@ handler = Ffind_file_name_handler (newname, Qcopy_file); if (!NILP (handler)) RETURN_UNGCPRO (call5 (handler, Qcopy_file, file, newname, - ok_if_already_exists, keep_date)); + ok_if_already_exists, keep_time)); encoded_file = ENCODE_FILE (file); encoded_newname = ENCODE_FILE (newname); @@ -2381,7 +2381,7 @@ if (input_file_statable_p) { - if (!NILP (keep_date)) + if (!NILP (keep_time)) { EMACS_TIME atime, mtime; EMACS_SET_SECS_USECS (atime, st.st_atime, 0);