# HG changeset patch # User Juanma Barranquero # Date 1211537605 0 # Node ID 0221518ac2615eef3a6cd28fcac331962d633238 # Parent e6c6a960dd17483f114260ff111b8f9c080c10d8 (Fencode_char, Fsplit_char): Doc fixes. (Fget_unused_iso_final_char, Fdecode_char, Fiso_charset): Fix typos in docstrings. diff -r e6c6a960dd17 -r 0221518ac261 src/charset.c --- a/src/charset.c Fri May 23 09:25:18 2008 +0000 +++ b/src/charset.c Fri May 23 10:13:25 2008 +0000 @@ -1042,7 +1042,7 @@ else if (ISO_CHARSET_TABLE (2, 0, 'B') == id) charset_jisx0208 = id; } - + if (charset.emacs_mule_id >= 0) { emacs_mule_charset[charset.emacs_mule_id] = CHARSET_FROM_ID (id); @@ -1257,7 +1257,7 @@ DEFUN ("get-unused-iso-final-char", Fget_unused_iso_final_char, Sget_unused_iso_final_char, 2, 2, 0, doc: /* -Return an unused ISO final char for a charset of DIMENISION and CHARS. +Return an unused ISO final char for a charset of DIMENSION and CHARS. DIMENSION is the number of bytes to represent a character: 1 or 2. CHARS is the number of characters in a dimension: 94 or 96. @@ -1669,7 +1669,7 @@ CODE-POINT may be a cons (HIGHER-16-BIT-VALUE . LOWER-16-BIT-VALUE). Optional argument RESTRICTION specifies a way to map the pair of CCS -and CODE-POINT to a chracter. Currently not supported and just ignored. */) +and CODE-POINT to a character. Currently not supported and just ignored. */) (charset, code_point, restriction) Lisp_Object charset, code_point, restriction; { @@ -1699,7 +1699,7 @@ doc: /* Encode the character CH into a code-point of CHARSET. Return nil if CHARSET doesn't include CH. -Optional argument RESTRICTION specifies a way to map CHAR to a +Optional argument RESTRICTION specifies a way to map CH to a code-point in CCS. Currently not supported and just ignored. */) (ch, charset, restriction) Lisp_Object ch, charset, restriction; @@ -1835,10 +1835,10 @@ DEFUN ("split-char", Fsplit_char, Ssplit_char, 1, 1, 0, doc: - /*Return list of charset and one to four position-codes of CHAR. + /*Return list of charset and one to four position-codes of CH. The charset is decided by the current priority order of charsets. A position-code is a byte value of each dimension of the code-point of -CHAR in the charset. */) +CH in the charset. */) (ch) Lisp_Object ch; { @@ -1903,7 +1903,7 @@ ISO 2022's designation sequence (escape sequence) distinguishes charsets by their DIMENSION, CHARS, and FINAL-CHAR, -where as Emacs distinguishes them by charset symbol. +whereas Emacs distinguishes them by charset symbol. See the documentation of the function `charset-info' for the meanings of DIMENSION, CHARS, and FINAL-CHAR. */) (dimension, chars, final_char)