diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index de2edad07bd..71da2e17670 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3116,7 +3116,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3116 | { | 3116 | { |
| 3117 | struct hostent *host_info_ptr; | 3117 | struct hostent *host_info_ptr; |
| 3118 | 3118 | ||
| 3119 | /* gethostbyname may fail with TRY_AGAIN, but we don't honour that, | 3119 | /* gethostbyname may fail with TRY_AGAIN, but we don't honor that, |
| 3120 | as it may `hang' Emacs for a very long time. */ | 3120 | as it may `hang' Emacs for a very long time. */ |
| 3121 | immediate_quit = 1; | 3121 | immediate_quit = 1; |
| 3122 | QUIT; | 3122 | QUIT; |
| @@ -5363,8 +5363,8 @@ send_process (volatile Lisp_Object proc, const char *volatile buf, | |||
| 5363 | sending a multibyte text, thus we must encode it by the | 5363 | sending a multibyte text, thus we must encode it by the |
| 5364 | original coding system specified for the current process. | 5364 | original coding system specified for the current process. |
| 5365 | 5365 | ||
| 5366 | Another reason we comming here is that the coding system | 5366 | Another reason we come here is that the coding system |
| 5367 | was just complemented and new one was returned by | 5367 | was just complemented and a new one was returned by |
| 5368 | complement_process_encoding_system. */ | 5368 | complement_process_encoding_system. */ |
| 5369 | setup_coding_system (p->encode_coding_system, coding); | 5369 | setup_coding_system (p->encode_coding_system, coding); |
| 5370 | Vlast_coding_system_used = p->encode_coding_system; | 5370 | Vlast_coding_system_used = p->encode_coding_system; |
| @@ -5373,6 +5373,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf, | |||
| 5373 | } | 5373 | } |
| 5374 | else | 5374 | else |
| 5375 | { | 5375 | { |
| 5376 | coding->src_multibyte = 0; | ||
| 5376 | /* For sending a unibyte text, character code conversion should | 5377 | /* For sending a unibyte text, character code conversion should |
| 5377 | not take place but EOL conversion should. So, setup raw-text | 5378 | not take place but EOL conversion should. So, setup raw-text |
| 5378 | or one of the subsidiary if we have not yet done it. */ | 5379 | or one of the subsidiary if we have not yet done it. */ |