# HG changeset patch # User Juanma Barranquero # Date 1231338269 0 # Node ID 1e4a0e253e3ab6a0ae694194676e966c62290092 # Parent c4e68f99dcea6056f95f657ae078dd5e4fd66370 * international/mule.el (define-coding-system): Doc fix. diff -r c4e68f99dcea -r 1e4a0e253e3a lisp/ChangeLog --- a/lisp/ChangeLog Wed Jan 07 13:00:06 2009 +0000 +++ b/lisp/ChangeLog Wed Jan 07 14:24:29 2009 +0000 @@ -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 -r c4e68f99dcea -r 1e4a0e253e3a lisp/international/mule.el --- a/lisp/international/mule.el Wed Jan 07 13:00:06 2009 +0000 +++ b/lisp/international/mule.el Wed Jan 07 14:24:29 2009 +0000 @@ -592,7 +592,7 @@ 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 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 @@ `: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 @@ `: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 @@ 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'