Commit 13336908 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fcopy_file): Set immediate_quit around emacs_open call.

parent f58e9f8c
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment