]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcopy_file): Fix backward test of KEEP_TIME.
authorRichard M. Stallman <rms@gnu.org>
Wed, 16 Oct 2002 15:56:31 +0000 (15:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 16 Oct 2002 15:56:31 +0000 (15:56 +0000)
src/ChangeLog
src/fileio.c

index 782acdab876f2c5f4c2ef4ad84d96a80a27bd3ac..0d27a054e22ac06b97ae5acc31dab35519a116ec 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-16  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
+
 2002-10-14  Juanma Barranquero  <lektu@terra.es>
 
        * w16select.c (syms_of_win16select): Fix docstring for
index 2e83159ef863df85762cc0bc9f938ee8c38eeeec..41504f9882b8a914a5e2eeb3ddc8c94fe2083640 100644 (file)
@@ -2417,7 +2417,7 @@ A prefix arg makes KEEP-TIME non-nil.  */)
                 SDATA (encoded_newname), 
                 FALSE))
     report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
-  else if (NILP (keep_time))
+  else if (!NILP (keep_time))
     {
       EMACS_TIME now;
       DWORD attributes;