Mercurial > emacs
diff src/term.c @ 20223:1e30a8b4ff3f
(encode_terminal_code): Use new macros defined in
coding.h.
(write_glyphs): Likewise.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Sat, 08 Nov 1997 03:05:44 +0000 |
| parents | 8f58b5d12021 |
| children | 9ab8e061c0bf |
line wrap: on
line diff
--- a/src/term.c Fri Nov 07 23:32:50 1997 +0000 +++ b/src/term.c Sat Nov 08 03:05:44 1997 +0000 @@ -828,7 +828,7 @@ buf = GLYPH_STRING (tbase, g); } - if (CODING_MAY_REQUIRE_NO_CONVERSION (&terminal_coding)) + if (! CODING_REQUIRE_ENCODING (&terminal_coding)) /* We had better avoid sending Emacs' internal code to terminal. */ produced = encode_coding (&safe_terminal_coding, buf, dst, @@ -903,7 +903,7 @@ string += consumed; } /* We may have to output some codes to terminate the writing. */ - if (!CODING_MAY_REQUIRE_NO_CONVERSION (&terminal_coding)) + if (CODING_REQUIRE_FLUSHING (&terminal_coding)) { terminal_coding.last_block = 1; produced = encode_coding (&terminal_coding, (char *)0, conversion_buffer,
