]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcopy_file): Set immediate_quit around emacs_open call.
authorRichard M. Stallman <rms@gnu.org>
Sat, 7 Dec 2002 21:39:50 +0000 (21:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 7 Dec 2002 21:39:50 +0000 (21:39 +0000)
src/fileio.c

index 890ef2de3710be6a3e31ae1ba233192b86e4d0d6..a8d27f0ef2d2019b517fc7a031f05c7ac30edecf 100644 (file)
@@ -2429,7 +2429,10 @@ A prefix arg makes KEEP-TIME non-nil.  */)
       SetFileAttributes (filename, attributes);
     }
 #else /* not WINDOWSNT */
+  immediate_quit = 1;
   ifd = emacs_open (SDATA (encoded_file), O_RDONLY, 0);
+  immediate_quit = 0;
+
   if (ifd < 0)
     report_file_error ("Opening input file", Fcons (file, Qnil));