]> code.delx.au - gnu-emacs/blobdiff - lisp/international/mule.el
* international/fontset.el (create-fontset-from-fontset-spec): Doc fix.
[gnu-emacs] / lisp / international / mule.el
index 23e3bfa8e4ba870bc29c24e1c004014b2bcd1328..508b20692f1f077725e32be0fd878a741adb7361 100644 (file)
@@ -1,9 +1,9 @@
 ;;; mule.el --- basic commands for multilingual environment
 
-;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 ;;   Free Software Foundation, Inc.
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008
+;;   2005, 2006, 2007, 2008, 2009
 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
 ;;   Registration Number H14PRO021
 ;; Copyright (C) 2003
@@ -50,7 +50,7 @@ Distribution date of this version of MULE (multilingual environment).")
 (defvar emacs-mule-charset-table (make-vector 256 nil))
 (aset emacs-mule-charset-table 0 'ascii)
 
-;; Convert the argument of old-style calll of define-charset to a
+;; Convert the argument of old-style call of define-charset to a
 ;; property list used by the new-style.
 ;; INFO-VECTOR is a vector of the format:
 ;;   [DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
@@ -592,7 +592,7 @@ The remaining arguments must come in pairs ATTRIBUTE VALUE.  ATTRIBUTE
 may be any symbol.
 
 The following attributes have special meanings.  Those labeled as
-\"(required)\", should not be omitted.
+\"(required)\" should not be omitted.
 
 `:mnemonic' (required)
 
@@ -608,7 +608,7 @@ VALUE must be one of `charset', `utf-8', `utf-16', `iso-2022',
 VALUE is the EOL (end-of-line) format of the coding system.  It must be
 one of `unix', `dos', `mac'.  The symbol `unix' means Unix-like EOL
 \(i.e. single LF), `dos' means DOS-like EOL \(i.e. sequence of CR LF),
-and `mac' means MAC-like EOL \(i.e. single CR).  If omitted, on
+and `mac' means Mac-like EOL \(i.e. single CR).  If omitted, on
 decoding by the coding system, Emacs automatically detects the EOL
 format of the source text.
 
@@ -667,7 +667,7 @@ results in a unibyte buffer.
 `:eol-type'
 
 VALUE must be `unix', `dos', `mac'.  The symbol `unix' means Unix-like
-EOL (LF), `dos' means DOS-like EOL (CRLF), and `mac' means MAC-like
+EOL (LF), `dos' means DOS-like EOL (CRLF), and `mac' means Mac-like
 EOL (CR).  If omitted, on decoding, the coding system detects EOL
 format automatically, and on encoding, uses Unix-like EOL.
 
@@ -710,8 +710,8 @@ This attribute has a meaning only when `:coding-type' is `iso-2022'.
 `:bom'
 
 This attributes specifies whether the coding system uses a `byte order
-mark'.  VALUE must nil, t, or cons of coding systems whose
-`:coding-type' is `utf-16'.
+mark'.  VALUE must be nil, t, or cons of coding systems whose
+`:coding-type' is `utf-16' or `utf-8'.
 
 If the value is nil, on decoding, don't treat the first two-byte as
 BOM, and on encoding, don't produce BOM bytes.
@@ -719,13 +719,14 @@ BOM, and on encoding, don't produce BOM bytes.
 If the value is t, on decoding, skip the first two-byte as BOM, and on
 encoding, produce BOM bytes accoding to the value of `:endian'.
 
-If the value is cons, on decoding, check the first two-byte.  If theyq
+If the value is cons, on decoding, check the first two-byte.  If they
 are 0xFE 0xFF, use the car part coding system of the value.  If they
-are 0xFF 0xFE, use the car part coding system of the value.
+are 0xFF 0xFE, use the cdr part coding system of the value.
 Otherwise, treat them as bytes for a normal character.  On encoding,
 produce BOM bytes accoding to the value of `:endian'.
 
-This attribute has a meaning only when `:coding-type' is `utf-16'.
+This attribute has a meaning only when `:coding-type' is `utf-16' or
+`utf-8'.
 
 `:endian'