(char-ucs): Use `=ucs' instead of `ucs'; use `encode-char' instead of
authortomo <tomo>
Sun, 9 Mar 2003 17:03:21 +0000 (17:03 +0000)
committertomo <tomo>
Sun, 9 Mar 2003 17:03:21 +0000 (17:03 +0000)
`get-char-attribute' for it.

lisp/utf-2000/ideograph-util.el

index 73fcba8..e176fd9 100644 (file)
 
 ;;;###autoload
 (defun char-ucs (char)
-  (or (get-char-attribute char 'ucs)
+  (or (encode-char char '=ucs 'defined-only)
       (get-char-attribute char '=>ucs)))
 
 (defun char-id (char)