changeset 89449:0312225e013a

(Finsert_file_contents): Even if we read into a unibyte buffer, check if we must decode the result or not.
author Kenichi Handa <handa@m17n.org>
date Thu, 29 May 2003 13:18:29 +0000
parents de8b460070cc
children 7f88806b3881
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu May 29 13:17:04 2003 +0000
+++ b/src/fileio.c	Thu May 29 13:18:29 2003 +0000
@@ -4428,8 +4428,7 @@
 	current_buffer->enable_multibyte_characters = Qnil;
     }
 
-  if ((! NILP (current_buffer->enable_multibyte_characters)
-       || CODING_REQUIRE_DETECTION (&coding)
+  if ((CODING_REQUIRE_DETECTION (&coding)
        || CODING_REQUIRE_DECODING (&coding))
       && (inserted > 0 || CODING_REQUIRE_FLUSHING (&coding)))
     {