diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-12-07 21:39:50 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-12-07 21:39:50 +0000 |
commit | 133369080ea6aab23749300eda51276a018f0f9d (patch) | |
tree | 68f5405253200f22218aecbc42e5a8913239779b /src/fileio.c | |
parent | f58e9f8c1a3b086610ccd86301770d206589e3ac (diff) | |
download | emacs-133369080ea6aab23749300eda51276a018f0f9d.tar.gz |
(Fcopy_file): Set immediate_quit around emacs_open call.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 890ef2de371..a8d27f0ef2d 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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)); |