Mercurial > emacs
diff src/callproc.c @ 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 | 4c5bbf536647 |
children | 108e326323e3 |
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. */