Mercurial > emacs
changeset 56040:13758b690c5c
(set-language-environment): Load subst tables if necessary.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 12 Jun 2004 02:21:21 +0000 |
parents | 7dc1250b3b2f |
children | bcdeaf1d58fc |
files | lisp/international/mule-cmds.el |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el Sat Jun 12 02:20:10 2004 +0000 +++ b/lisp/international/mule-cmds.el Sat Jun 12 02:21:21 2004 +0000 @@ -1834,6 +1834,15 @@ (let ((func (get-language-info language-name 'setup-function))) (if (functionp func) (funcall func))) + (if (and utf-translate-cjk-mode + utf-translate-cjk-lang-env + (not (eq utf-translate-cjk-lang-env language-name)) + (catch 'tag + (dolist (charset (get-language-info language-name 'charset)) + (if (memq charset utf-translate-cjk-charsets) + (throw 'tag t))) + nil)) + (utf-translate-cjk-load-tables)) (run-hooks 'set-language-environment-hook) (force-mode-line-update t))