diff options
author | Kenichi Handa <handa@m17n.org> | 1997-08-01 01:36:20 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-08-01 01:36:20 +0000 |
commit | 40e5d5df3f2ce2c781e478486b1b94b5f673da47 (patch) | |
tree | 325a545f7dc314c65e68264a96762ecca642fd7c | |
parent | f7dda95b2b5a02fcffd234eb96711dde4d32256e (diff) | |
download | emacs-40e5d5df3f2ce2c781e478486b1b94b5f673da47.tar.gz |
(Fwrite_region): Don't try to flush out a data twice.
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 3540229cff7..9ad7a42ea2a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4076,7 +4076,7 @@ to the file, instead of any buffer contents, and END is ignored.") save_errno = errno; } - if (coding.require_flushing) + if (coding.require_flushing && !coding.last_block) { /* We have to flush out a data. */ coding.last_block = 1; |