mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 08:00:48 -08:00
(ucs-set-table-for-input): If
translation-table-for-input of a coding system is a symbol, get its translation-table property.
This commit is contained in:
parent
848613f869
commit
514eb97bbf
1 changed files with 3 additions and 1 deletions
|
|
@ -2517,7 +2517,9 @@ This function is automatically called directly at the end of `get-buffer-create'
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue