Mercurial > emacs
diff src/fileio.c @ 48725:279d729bd941
(Fcopy_file): Set immediate_quit around emacs_open call.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 07 Dec 2002 21:39:50 +0000 |
parents | 682129896be4 |
children | 0b4aeb4594ad |
line wrap: on
line diff
--- a/src/fileio.c Sat Dec 07 21:39:18 2002 +0000 +++ b/src/fileio.c Sat Dec 07 21:39:50 2002 +0000 @@ -2429,7 +2429,10 @@ 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));