Commit 4bed5909 authored by Chong Yidong's avatar Chong Yidong
Browse files

* coding.c (get_translation_table): Check Venable_character_translation.

parent fdb55376
......@@ -6623,6 +6623,12 @@ get_translation_table (attrs, encodep, max_lookup)
Lisp_Object standard, translation_table;
Lisp_Object val;
if (NILP (Venable_character_translation))
{
if (max_lookup)
*max_lookup = 0;
return Qnil;
}
if (encodep)
translation_table = CODING_ATTR_ENCODE_TBL (attrs),
standard = Vstandard_translation_table_for_encode;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment