diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 5acd7a57714..eba0461a235 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -828,7 +828,7 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed) | |||
| 828 | buf = GLYPH_STRING (tbase, g); | 828 | buf = GLYPH_STRING (tbase, g); |
| 829 | } | 829 | } |
| 830 | 830 | ||
| 831 | if (CODING_MAY_REQUIRE_NO_CONVERSION (&terminal_coding)) | 831 | if (! CODING_REQUIRE_ENCODING (&terminal_coding)) |
| 832 | /* We had better avoid sending Emacs' internal code to | 832 | /* We had better avoid sending Emacs' internal code to |
| 833 | terminal. */ | 833 | terminal. */ |
| 834 | produced = encode_coding (&safe_terminal_coding, buf, dst, | 834 | produced = encode_coding (&safe_terminal_coding, buf, dst, |
| @@ -903,7 +903,7 @@ write_glyphs (string, len) | |||
| 903 | string += consumed; | 903 | string += consumed; |
| 904 | } | 904 | } |
| 905 | /* We may have to output some codes to terminate the writing. */ | 905 | /* We may have to output some codes to terminate the writing. */ |
| 906 | if (!CODING_MAY_REQUIRE_NO_CONVERSION (&terminal_coding)) | 906 | if (CODING_REQUIRE_FLUSHING (&terminal_coding)) |
| 907 | { | 907 | { |
| 908 | terminal_coding.last_block = 1; | 908 | terminal_coding.last_block = 1; |
| 909 | produced = encode_coding (&terminal_coding, (char *)0, conversion_buffer, | 909 | produced = encode_coding (&terminal_coding, (char *)0, conversion_buffer, |