diff options
author | Jason Rumney <jasonr@gnu.org> | 2003-02-01 01:16:43 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2003-02-01 01:16:43 +0000 |
commit | 0ea7cf211183a6c7ba68f7371666ecc431642500 (patch) | |
tree | 656359d683c2674c341ed81fdae6ded5adb570bb /src | |
parent | f57af6a507338404d6c7a2bd634673e186799d8c (diff) | |
download | emacs-0ea7cf211183a6c7ba68f7371666ecc431642500.tar.gz |
(Fcopy_file) [WINDOWS_NT]: Reverse logic for setting
timestamp.
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index f904a1146ee..53fddacde04 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2356,7 +2356,8 @@ A prefix arg makes KEEP-TIME non-nil.") XSTRING (encoded_newname)->data, FALSE)) report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil))); - else if (!NILP (keep_time)) + /* CopyFile retains the timestamp by default. */ + else if (NILP (keep_time)) { EMACS_TIME now; DWORD attributes; |