aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index d23a5ff544c..97a8ea863ee 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5584,7 +5584,9 @@ decode_coding (coding)
5584 coding->annotated = 0; 5584 coding->annotated = 0;
5585 (*(coding->decoder)) (coding); 5585 (*(coding->decoder)) (coding);
5586 if (!NILP (CODING_ATTR_DECODE_TBL (attrs))) 5586 if (!NILP (CODING_ATTR_DECODE_TBL (attrs)))
5587 translate_chars (CODING_ATTR_DECODE_TBL (attrs), coding); 5587 translate_chars (coding, CODING_ATTR_DECODE_TBL (attrs));
5588 else if (!NILP (Vstandard_translation_table_for_decode))
5589 translate_chars (coding, Vstandard_translation_table_for_decode);
5588 coding_set_destination (coding); 5590 coding_set_destination (coding);
5589 produce_chars (coding); 5591 produce_chars (coding);
5590 if (coding->annotated) 5592 if (coding->annotated)
@@ -5768,7 +5770,9 @@ encode_coding (coding)
5768 consume_chars (coding); 5770 consume_chars (coding);
5769 5771
5770 if (!NILP (CODING_ATTR_ENCODE_TBL (attrs))) 5772 if (!NILP (CODING_ATTR_ENCODE_TBL (attrs)))
5771 translate_chars (CODING_ATTR_ENCODE_TBL (attrs), coding); 5773 translate_chars (coding, CODING_ATTR_ENCODE_TBL (attrs));
5774 else if (!NILP (Vstandard_translation_table_for_encode))
5775 translate_chars (coding, Vstandard_translation_table_for_encode);
5772 5776
5773 coding_set_destination (coding); 5777 coding_set_destination (coding);
5774 (*(coding->encoder)) (coding); 5778 (*(coding->encoder)) (coding);