From 774b7c713d0a673fe18f0e3ff6c69d7f0a93e279 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 24 Dec 2003 02:09:40 +0000 Subject: [PATCH] (ucs-set-table-for-input): If translation-table-for-encode is a symbol, get its translation-table property. --- lisp/international/ucs-tables.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2