Mercurial > emacs
changeset 33245:9366a16a186b
(decode-char, encode-char): Fix doc-string.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 06 Nov 2000 12:42:06 +0000 |
parents | 59edd748e69a |
children | d27d42483b9e |
files | lisp/international/mule.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule.el Mon Nov 06 12:40:34 2000 +0000 +++ b/lisp/international/mule.el Mon Nov 06 12:42:06 2000 +0000 @@ -289,7 +289,7 @@ (not (eq (car l) 'composition)))))) (defun decode-char (ccs code-point &optional restriction) - "Return a character specified by coded character set CCS and CODE-POINT in it. + "Return character specified by coded character set CCS and CODE-POINT in it. Return nil if such a character is not supported. Currently, supported coded character set is `ucs' (ISO/IEC 10646: Universal Multi-Octet Coded Character Set) only. @@ -316,12 +316,12 @@ )))) (defun encode-char (char ccs &optional restriction) - "Return a code-point in coded character set CCS that corresponds to CHAR. + "Return code-point in coded character set CCS that corresponds to CHAR. Return nil if CHAR is not included in CCS. Currently, supported coded character set is `ucs' (ISO/IEC 10646: Universal Multi-Octet Coded Character Set) only. -Return a Unicode character code for CHAR. -Charset of CHAR should be one of these: + +CHAR should be in one of these charsets: ascii, latin-iso8859-1, mule-unicode-0100-24ff, mule-unicode-2500-33ff, mule-unicode-e000-ffff Otherwise, return nil.