[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c,v
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c,v |
Date: |
Tue, 20 Mar 2007 08:49:54 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: YAMAMOTO Mitsuharu <mituharu> 07/03/20 08:49:54
Index: fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.578
retrieving revision 1.579
diff -u -b -r1.578 -r1.579
--- fileio.c 21 Jan 2007 04:18:16 -0000 1.578
+++ fileio.c 20 Mar 2007 08:49:53 -0000 1.579
@@ -5804,7 +5804,11 @@
FILE *stream = (FILE *) XSAVE_VALUE (arg)->pointer;
auto_saving = 0;
if (stream != NULL)
+ {
+ BLOCK_INPUT;
fclose (stream);
+ UNBLOCK_INPUT;
+ }
return Qnil;
}
@@ -5934,6 +5938,7 @@
if (STRINGP (b->auto_save_file_name)
&& stream != NULL && do_handled_files == 0)
{
+ BLOCK_INPUT;
if (!NILP (b->filename))
{
fwrite (SDATA (b->filename), 1,
@@ -5943,6 +5948,7 @@
fwrite (SDATA (b->auto_save_file_name), 1,
SBYTES (b->auto_save_file_name), stream);
putc ('\n', stream);
+ UNBLOCK_INPUT;
}
if (!NILP (current_only)
- [Emacs-diffs] Changes to emacs/src/fileio.c,v,
YAMAMOTO Mitsuharu <=