]> git.eshelyaron.com Git - emacs.git/commitdiff
(send_process): Be sure to set coding->src_multibyte.
authorKenichi Handa <handa@m17n.org>
Mon, 29 Dec 2003 07:53:43 +0000 (07:53 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 29 Dec 2003 07:53:43 +0000 (07:53 +0000)
src/process.c

index 3051b81f7cd8418aeda0895653a8854f059b3184..419d108b71284b21b66e7458ef61e0bdad829e9d 100644 (file)
@@ -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;