From: Kenichi Handa Date: Wed, 24 Dec 2003 02:09:40 +0000 (+0000) Subject: (ucs-set-table-for-input): If X-Git-Tag: ttn-vms-21-2-B4~8199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=774b7c713d0a673fe18f0e3ff6c69d7f0a93e279;p=emacs.git (ucs-set-table-for-input): If translation-table-for-encode is a symbol, get its translation-table property. --- diff --git a/lisp/international/ucs-tables.el b/lisp/international/ucs-tables.el index d91a4b9fbf2..476c8dfc191 100644 --- a/lisp/international/ucs-tables.el +++ b/lisp/international/ucs-tables.el @@ -2507,6 +2507,8 @@ BUFFER defaults to the current buffer." (coding-system-base default-buffer-file-coding-system)))) (when cs (setq table (coding-system-get cs 'translation-table-for-encode)) + (if (and table (symbolp table)) + (setq table (get table 'translation-table))) (unless (char-table-p table) (setq table (coding-system-get cs 'translation-table-for-input))) (when (char-table-p table)