# HG changeset patch # User Kenichi Handa # Date 1028099117 0 # Node ID 9c97427fb1f6434dc6ae4ece99c77a8186d04c8f # Parent 8628701201aee681b5a418f6bb9192e3467cad56 (Fcall_process): Don't call insert_1_both directly if we are inserting a process output into a multibyte buffer. diff -r 8628701201ae -r 9c97427fb1f6 src/callproc.c --- 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. */