changeset 88945:9c97427fb1f6

(Fcall_process): Don't call insert_1_both directly if we are inserting a process output into a multibyte buffer.
author Kenichi Handa <handa@m17n.org>
date Wed, 31 Jul 2002 07:05:17 +0000
parents 8628701201ae
children 233c080b5756
files src/callproc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Wed Jul 31 07:04:55 2002 +0000
+++ b/src/callproc.c	Wed Jul 31 07:05:17 2002 +0000
@@ -764,7 +764,8 @@
 	
 	if (!NILP (buffer))
 	  {
-	    if (! CODING_MAY_REQUIRE_DECODING (&process_coding))
+	    if (NILP (current_buffer->enable_multibyte_characters)
+		&& ! CODING_MAY_REQUIRE_DECODING (&process_coding))
 	      insert_1_both (bufptr, nread, nread, 0, 1, 0);
 	    else
 	      {			/* We have to decode the input.  */