changeset 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 9823d1d05083
children fb98ec190b6a
files src/term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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,