diff options
| author | Kenichi Handa | 2004-10-27 06:03:43 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-10-27 06:03:43 +0000 |
| commit | e41ef4d4044c910044fa40f83282d32b22a1260f (patch) | |
| tree | c99c9c551c72576bbd6f24a106cac61a7c1db0ea | |
| parent | fce59e4038c02d88aca0ba6ef06db7ceb991d279 (diff) | |
| download | emacs-e41ef4d4044c910044fa40f83282d32b22a1260f.tar.gz emacs-e41ef4d4044c910044fa40f83282d32b22a1260f.zip | |
Use utf-translate-cjk-substitutable-p.
| -rw-r--r-- | lisp/international/subst-big5.el | 6 | ||||
| -rw-r--r-- | lisp/international/subst-gb2312.el | 6 | ||||
| -rw-r--r-- | lisp/international/subst-jis.el | 10 | ||||
| -rw-r--r-- | lisp/international/subst-ksc.el | 6 |
4 files changed, 14 insertions, 14 deletions
diff --git a/lisp/international/subst-big5.el b/lisp/international/subst-big5.el index f2004b07544..9a17974ab01 100644 --- a/lisp/international/subst-big5.el +++ b/lisp/international/subst-big5.el | |||
| @@ -32,9 +32,9 @@ | |||
| 32 | (lambda (pair) | 32 | (lambda (pair) |
| 33 | (let ((unicode (car pair)) | 33 | (let ((unicode (car pair)) |
| 34 | (char (cadr pair))) | 34 | (char (cadr pair))) |
| 35 | (if (or (and (>= unicode #x2e80) (<= unicode #xd7a3)) | 35 | ;; exclude non-supporting components from decode table |
| 36 | (and (>= unicode #xff00) (<= unicode #xffef))) | 36 | (if (utf-translate-cjk-substitutable-p unicode) |
| 37 | (puthash unicode char ucs-unicode-to-mule-cjk)) | 37 | (puthash unicode char ucs-unicode-to-mule-cjk)) |
| 38 | (puthash char unicode ucs-mule-cjk-to-unicode))) | 38 | (puthash char unicode ucs-mule-cjk-to-unicode))) |
| 39 | '((#xa7 ?¡±) | 39 | '((#xa7 ?¡±) |
| 40 | (#xaf ?¡Â) | 40 | (#xaf ?¡Â) |
diff --git a/lisp/international/subst-gb2312.el b/lisp/international/subst-gb2312.el index dba26c9bd5c..446420490c5 100644 --- a/lisp/international/subst-gb2312.el +++ b/lisp/international/subst-gb2312.el | |||
| @@ -32,9 +32,9 @@ | |||
| 32 | (lambda (pair) | 32 | (lambda (pair) |
| 33 | (let ((unicode (car pair)) | 33 | (let ((unicode (car pair)) |
| 34 | (char (cadr pair))) | 34 | (char (cadr pair))) |
| 35 | (if (or (and (>= unicode #x2e80) (<= unicode #xd7a3)) | 35 | ;; exclude non-supporting components from decode table |
| 36 | (and (>= unicode #xff00) (<= unicode #xffef))) | 36 | (if (utf-translate-cjk-substitutable-p unicode) |
| 37 | (puthash unicode char ucs-unicode-to-mule-cjk)) | 37 | (puthash unicode char ucs-unicode-to-mule-cjk)) |
| 38 | (puthash char unicode ucs-mule-cjk-to-unicode))) | 38 | (puthash char unicode ucs-mule-cjk-to-unicode))) |
| 39 | '((#xa4 ?¡è) | 39 | '((#xa4 ?¡è) |
| 40 | (#xa7 ?¡ì) | 40 | (#xa7 ?¡ì) |
diff --git a/lisp/international/subst-jis.el b/lisp/international/subst-jis.el index edd01c0a0b3..8de2478d235 100644 --- a/lisp/international/subst-jis.el +++ b/lisp/international/subst-jis.el | |||
| @@ -45,11 +45,11 @@ | |||
| 45 | (mapc | 45 | (mapc |
| 46 | (lambda (pair) | 46 | (lambda (pair) |
| 47 | (let ((unicode (car pair)) | 47 | (let ((unicode (car pair)) |
| 48 | (char (cadr pair))) | 48 | (char (cadr pair)) |
| 49 | ;; exclude non-CJK components from decode table | 49 | (tail utf-translate-cjk-unicode-range)) |
| 50 | (if (or (and (>= unicode #x2e80) (<= unicode #xd7a3)) | 50 | ;; exclude non-supporting components from decode table |
| 51 | (and (>= unicode #xff00) (<= unicode #xffef))) | 51 | (if (utf-translate-cjk-substitutable-p unicode) |
| 52 | (puthash unicode char ucs-unicode-to-mule-cjk)) | 52 | (puthash unicode char ucs-unicode-to-mule-cjk)) |
| 53 | (puthash char unicode ucs-mule-cjk-to-unicode))) | 53 | (puthash char unicode ucs-mule-cjk-to-unicode))) |
| 54 | '( | 54 | '( |
| 55 | ;; jisx0208 | 55 | ;; jisx0208 |
diff --git a/lisp/international/subst-ksc.el b/lisp/international/subst-ksc.el index 9f4b329b675..3cc339bbf8b 100644 --- a/lisp/international/subst-ksc.el +++ b/lisp/international/subst-ksc.el | |||
| @@ -31,9 +31,9 @@ | |||
| 31 | (lambda (pair) | 31 | (lambda (pair) |
| 32 | (let ((unicode (car pair)) | 32 | (let ((unicode (car pair)) |
| 33 | (char (cadr pair))) | 33 | (char (cadr pair))) |
| 34 | (if (or (and (>= unicode #x2e80) (<= unicode #xd7a3)) | 34 | ;; exclude non-supporting components from decode table |
| 35 | (and (>= unicode #xff00) (<= unicode #xffef))) | 35 | (if (utf-translate-cjk-substitutable-p unicode) |
| 36 | (puthash unicode char ucs-unicode-to-mule-cjk)) | 36 | (puthash unicode char ucs-unicode-to-mule-cjk)) |
| 37 | (puthash char unicode ucs-mule-cjk-to-unicode))) | 37 | (puthash char unicode ucs-mule-cjk-to-unicode))) |
| 38 | '((#xa1 ?¢®) | 38 | '((#xa1 ?¢®) |
| 39 | (#xa4 ?¢´) | 39 | (#xa4 ?¢´) |