summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-05-23 10:13:25 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-05-23 10:13:25 +0000
commitd0cf2d48dc0327eb9e8f0633d5482354911b5288 (patch)
treee73c8f121e0478e1a5af3656e65c0e848233b311 /src/charset.c
parente71508461166217794b1f1489ff244acecc7769b (diff)
downloademacs-d0cf2d48dc0327eb9e8f0633d5482354911b5288.tar.gz
(Fencode_char, Fsplit_char): Doc fixes.
(Fget_unused_iso_final_char, Fdecode_char, Fiso_charset): Fix typos in docstrings.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/charset.c b/src/charset.c
index 55ca20875f1..e0bddf4eebd 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1042,7 +1042,7 @@ usage: (define-charset-internal ...) */)
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 @@ Optional third argument DEUNIFY, if non-nil, means to de-unify CHARSET. */)
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 @@ Return nil if CODE-POINT is not valid in CHARSET.
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 @@ DEFUN ("encode-char", Fencode_char, Sencode_char, 2, 3, 0,
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 @@ char_charset (c, charset_list, code_return)
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 @@ Return charset of ISO's specification DIMENSION, CHARS, and FINAL-CHAR.
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)