From: tomo Date: Sun, 9 Mar 2003 17:03:21 +0000 (+0000) Subject: (char-ucs): Use `=ucs' instead of `ucs'; use `encode-char' instead of X-Git-Tag: r21-4-11-chise-0_20-=ucs~3 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d7f319b2ca6838df6f3efb570bf0c2847fd2fc;p=chise%2Fxemacs-chise.git (char-ucs): Use `=ucs' instead of `ucs'; use `encode-char' instead of `get-char-attribute' for it. --- diff --git a/lisp/utf-2000/ideograph-util.el b/lisp/utf-2000/ideograph-util.el index 73fcba8..e176fd9 100644 --- a/lisp/utf-2000/ideograph-util.el +++ b/lisp/utf-2000/ideograph-util.el @@ -236,7 +236,7 @@ ;;;###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)