Mercurial > emacs
changeset 47232:78c34a06ad5c
(decode-char): Cancel the previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 05 Sep 2002 00:28:04 +0000 |
parents | 2d6a05542b5b |
children | 620fccf981d3 |
files | lisp/international/mule.el |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule.el Thu Sep 05 00:27:49 2002 +0000 +++ b/lisp/international/mule.el Thu Sep 05 00:28:04 2002 +0000 @@ -308,8 +308,7 @@ Return nil if such a character is not supported. Currently the only supported coded character set is `ucs' (ISO/IEC 10646: Universal Multi-Octet Coded Character Set), and the result is -translated through the char table `utf-8-translation-table-for-decode' -if the variable `utf-8-fragment-on-decoding' is non-nil. +translated through the char table `utf-8-translation-table-for-decode'. Optional argument RESTRICTION specifies a way to map the pair of CCS and CODE-POINT to a character. Currently not supported and just ignored." @@ -332,9 +331,7 @@ (setq code-point (- code-point #xe000)) (make-char 'mule-unicode-e000-ffff (+ (/ code-point 96) 32) (+ (% code-point 96) 32)))))) - (if (and c - utf-8-fragment-on-decoding - (aref utf-8-translation-table-for-decode c)) + (if (and c (aref utf-8-translation-table-for-decode c)) (aref utf-8-translation-table-for-decode c) c)))))