Mercurial > emacs
changeset 103306:3680b4fe0f79
* coding.c (get_translation_table): Check Venable_character_translation.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 04 Jun 2009 01:06:04 +0000 |
parents | ba9d933971ca |
children | e1566685f778 |
files | src/coding.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Wed Jun 03 23:04:51 2009 +0000 +++ b/src/coding.c Thu Jun 04 01:06:04 2009 +0000 @@ -6623,6 +6623,12 @@ 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;