From: Kenichi Handa Date: Mon, 29 Dec 2003 07:53:43 +0000 (+0000) Subject: (send_process): Be sure to set coding->src_multibyte. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1659 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e08bbb8433eab55d2c135448795e0f06feb903ca;p=emacs.git (send_process): Be sure to set coding->src_multibyte. --- diff --git a/src/process.c b/src/process.c index 3051b81f7cd..419d108b712 100644 --- a/src/process.c +++ b/src/process.c @@ -4810,6 +4810,7 @@ send_process (proc, buf, len, object) original coding system specified for the current process. */ setup_coding_system (XPROCESS (proc)->encode_coding_system, coding); + coding->src_multibyte = 1; } else { @@ -4825,10 +4826,10 @@ send_process (proc, buf, len, object) send_process (proc, "", 0, Qt); coding->mode &= CODING_MODE_LAST_BLOCK; } - coding->src_multibyte = 0; setup_coding_system (raw_text_coding_system (Vlast_coding_system_used), coding); + coding->src_multibyte = 0; } } coding->dst_multibyte = 0;