emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/process.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/process.c
Date: Mon, 07 Jan 2002 16:16:38 -0500

Index: emacs/src/process.c
diff -c emacs/src/process.c:1.350 emacs/src/process.c:1.351
*** emacs/src/process.c:1.350   Tue Dec 11 17:19:28 2001
--- emacs/src/process.c Mon Jan  7 16:16:38 2002
***************
*** 3276,3290 ****
          && !NILP (XBUFFER (object)->enable_multibyte_characters))
        || EQ (object, Qt))
      {
-       coding->src_multibyte = 1;
        if (!EQ (coding->symbol, XPROCESS (proc)->encode_coding_system))
        /* The coding system for encoding was changed to raw-text
           because we sent a unibyte text previously.  Now we are
           sending a multibyte text, thus we must encode it by the
           original coding system specified for the current
           process.  */
!       setup_coding_system (XPROCESS (proc)->encode_coding_system,
!                            coding);
      }
    else
      {
--- 3276,3292 ----
          && !NILP (XBUFFER (object)->enable_multibyte_characters))
        || EQ (object, Qt))
      {
        if (!EQ (coding->symbol, XPROCESS (proc)->encode_coding_system))
        /* The coding system for encoding was changed to raw-text
           because we sent a unibyte text previously.  Now we are
           sending a multibyte text, thus we must encode it by the
           original coding system specified for the current
           process.  */
!       setup_coding_system (XPROCESS (proc)->encode_coding_system, coding);
!       /* src_multibyte should be set to 1 _after_ a call to
!        setup_coding_system, since it resets src_multibyte to
!        zero.  */
!       coding->src_multibyte = 1;
      }
    else
      {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]