X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lisp%2Futf-2000%2Fmaps-conf.el;h=3737c996dfc218db76ee278e9da643864a58f2b6;hb=67284a52900d12119e48b6ff24eaec87c4a79970;hp=556ff20092a2495508a4635c36b0450f9be5f328;hpb=75d56bb1c6307f0a20ad88f6bb6933f0ee343999;p=chise%2Fxemacs-chise.git diff --git a/lisp/utf-2000/maps-conf.el b/lisp/utf-2000/maps-conf.el index 556ff20..3737c99 100644 --- a/lisp/utf-2000/maps-conf.el +++ b/lisp/utf-2000/maps-conf.el @@ -257,3 +257,38 @@ (put-char-attribute c '=>jis-x0213-1 v)) nil) '=>jis-x0208) + +(let (dg-chr) + (map-char-attribute + (lambda (c v) + (when (setq dg-chr (decode-char '===jis-x0213-1@2000 v)) + (unless (eq c dg-chr) + (put-char-attribute dg-chr '===hanyo-denshi/jc v))) + nil) + '==hanyo-denshi/jc) + (map-char-attribute + (lambda (c v) + (when (setq dg-chr (decode-char '===jis-x0213-2 v)) + (unless (eq c dg-chr) + (put-char-attribute dg-chr '===hanyo-denshi/jd v))) + nil) + '==hanyo-denshi/jd) + ) + +(let (j-chr) + (map-char-attribute + (lambda (c v) + (if (and (setq j-chr (decode-char '=ucs@JP v)) + (not (eq j-chr c)) + (null (encode-char c '=ucs))) + (put-char-attribute c '=ucs@JP/hanazono nil)) + nil) + '=ucs@unicode) + (map-char-attribute + (lambda (c v) + (if (and (setq j-chr (decode-char '==ucs@JP v)) + (not (eq j-chr c))) + (put-char-attribute c '==ucs@JP/hanazono nil)) + nil) + '==ucs@unicode) + )