]> git.eshelyaron.com Git - emacs.git/commit
Fix incomplete handling of translation table in a coding system.
authorK. Handa <handa@gnu.org>
Tue, 31 May 2016 22:53:03 +0000 (07:53 +0900)
committerK. Handa <handa@gnu.org>
Tue, 31 May 2016 22:53:03 +0000 (07:53 +0900)
commit694d5e5b56a9d55023ffc292188bd88f6f6cbca6
tree88b600c763f75a140669f14f05f363011ffc51da
parent66cd9187e396abfa7220d6a8f8d1a7064ef20b1e
Fix incomplete handling of translation table in a coding system.

* coding.c (get_translation): New arg NCHARS.  Even if TRANS
is an alist, return a character or a vector of character.
(produce_chars): Adjust for the above change.
(consume_chars): Likewise.
src/coding.c