aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 23690bc753b..aeb2b355493 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6623,6 +6623,12 @@ get_translation_table (attrs, encodep, max_lookup)
6623 Lisp_Object standard, translation_table; 6623 Lisp_Object standard, translation_table;
6624 Lisp_Object val; 6624 Lisp_Object val;
6625 6625
6626 if (NILP (Venable_character_translation))
6627 {
6628 if (max_lookup)
6629 *max_lookup = 0;
6630 return Qnil;
6631 }
6626 if (encodep) 6632 if (encodep)
6627 translation_table = CODING_ATTR_ENCODE_TBL (attrs), 6633 translation_table = CODING_ATTR_ENCODE_TBL (attrs),
6628 standard = Vstandard_translation_table_for_encode; 6634 standard = Vstandard_translation_table_for_encode;