translation-table-for-input of a coding system is a symbol, get
its translation-table property.
(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)))
+ (setq table (coding-system-get cs 'translation-table-for-input))
+ (if (and table (symbolp table))
+ (setq table (get table 'translation-table))))
(when (char-table-p table)
(if buffer
(with-current-buffer buffer