# HG changeset patch # User Kenichi Handa # Date 1087006810 0 # Node ID 7dc1250b3b2f9c92ae6f9db83d531eff7f0e1e7e # Parent b7fe21511efeefb3ab0601f3b2e57ff9b3839528 (decode-char): Load subst tables if necessary. (encode-char): Likewise. diff -r b7fe21511efe -r 7dc1250b3b2f lisp/international/mule.el --- a/lisp/international/mule.el Sat Jun 12 02:18:36 2004 +0000 +++ b/lisp/international/mule.el Sat Jun 12 02:20:10 2004 +0000 @@ -316,8 +316,7 @@ and CODE-POINT to a character. Currently not supported and just ignored." (cond ((eq ccs 'ucs) - (or (gethash code-point - (get 'utf-subst-table-for-decode 'translation-hash-table)) + (or (utf-lookup-subst-table-for-decode code-point) (let ((c (cond ((< code-point 160) code-point) @@ -361,8 +360,7 @@ (charset (car split)) trans) (cond ((eq ccs 'ucs) - (or (gethash char (get 'utf-subst-table-for-encode - 'translation-hash-table)) + (or (utf-lookup-subst-table-for-encode char) (let ((table (get 'utf-translation-table-for-encode 'translation-table))) (setq trans (aref table char))