]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode_terminal_code): Use new macros defined in
authorKenichi Handa <handa@m17n.org>
Sat, 8 Nov 1997 03:05:44 +0000 (03:05 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 8 Nov 1997 03:05:44 +0000 (03:05 +0000)
coding.h.
(write_glyphs): Likewise.

src/term.c

index 5acd7a57714c1e9933da925008488168ffc3da21..eba0461a235a72a54b118683d4f5a96b4154a43d 100644 (file)
@@ -828,7 +828,7 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed)
              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 @@ write_glyphs (string, len)
       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,