aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 92a4842391c..7d1080deba2 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2278,8 +2278,8 @@ This is what happens in interactive use with M-x.\n\
2278Fourth arg KEEP-TIME non-nil means give the new file the same\n\ 2278Fourth arg KEEP-TIME non-nil means give the new file the same\n\
2279last-modified time as the old one. (This works on only some systems.)\n\ 2279last-modified time as the old one. (This works on only some systems.)\n\
2280A prefix arg makes KEEP-TIME non-nil.") 2280A prefix arg makes KEEP-TIME non-nil.")
2281 (file, newname, ok_if_already_exists, keep_date) 2281 (file, newname, ok_if_already_exists, keep_time)
2282 Lisp_Object file, newname, ok_if_already_exists, keep_date; 2282 Lisp_Object file, newname, ok_if_already_exists, keep_time;
2283{ 2283{
2284 int ifd, ofd, n; 2284 int ifd, ofd, n;
2285 char buf[16 * 1024]; 2285 char buf[16 * 1024];
@@ -2306,7 +2306,7 @@ A prefix arg makes KEEP-TIME non-nil.")
2306 handler = Ffind_file_name_handler (newname, Qcopy_file); 2306 handler = Ffind_file_name_handler (newname, Qcopy_file);
2307 if (!NILP (handler)) 2307 if (!NILP (handler))
2308 RETURN_UNGCPRO (call5 (handler, Qcopy_file, file, newname, 2308 RETURN_UNGCPRO (call5 (handler, Qcopy_file, file, newname,
2309 ok_if_already_exists, keep_date)); 2309 ok_if_already_exists, keep_time));
2310 2310
2311 encoded_file = ENCODE_FILE (file); 2311 encoded_file = ENCODE_FILE (file);
2312 encoded_newname = ENCODE_FILE (newname); 2312 encoded_newname = ENCODE_FILE (newname);
@@ -2381,7 +2381,7 @@ A prefix arg makes KEEP-TIME non-nil.")
2381 2381
2382 if (input_file_statable_p) 2382 if (input_file_statable_p)
2383 { 2383 {
2384 if (!NILP (keep_date)) 2384 if (!NILP (keep_time))
2385 { 2385 {
2386 EMACS_TIME atime, mtime; 2386 EMACS_TIME atime, mtime;
2387 EMACS_SET_SECS_USECS (atime, st.st_atime, 0); 2387 EMACS_SET_SECS_USECS (atime, st.st_atime, 0);