From: Juanma Barranquero Date: Wed, 7 Jan 2009 14:24:29 +0000 (+0000) Subject: * international/mule.el (define-coding-system): Doc fix. X-Git-Tag: emacs-pretest-23.0.90~658 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed039e6c297cdf9b4ac4d633ad0ec6db8e194bf5;p=emacs.git * international/mule.el (define-coding-system): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 754af3f6ef4..4e0b914d657 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-01-07 Juanma Barranquero + + * international/mule.el (define-coding-system): Doc fix. + 2009-01-07 Kenichi Handa * international/mule.el (define-coding-system): Fix docstring diff --git a/lisp/international/mule.el b/lisp/international/mule.el index fed9eec025b..508b20692f1 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -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,7 +710,7 @@ 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 +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 @@ -725,7 +725,8 @@ 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'