(mapping-table-read-file): Use `=ucs' instead of `ucs'; use
authortomo <tomo>
Sun, 9 Mar 2003 16:55:09 +0000 (16:55 +0000)
committertomo <tomo>
Sun, 9 Mar 2003 16:55:09 +0000 (16:55 +0000)
`encode-char' instead of `get-char-attribute' for it.

lisp/utf-2000/read-maps.el

index 46f9d8c..99751af 100644 (file)
                              ucs-code)))
            (put-char-attribute chr ucs-ccs ucs-code))
          (when (and ucs
-                    (not (eq (or (get-char-attribute chr 'ucs)
+                    (not (eq (or (encode-char chr '=ucs 'defined-only)
                                  (and (not (eq ucs-ccs 'ucs-jis))
                                       (get-char-attribute chr '=>ucs)))
                              ucs)))