From: Dave Love Date: Mon, 6 Oct 2003 16:59:45 +0000 (+0000) Subject: Don't mention preferred-coding-system. X-Git-Tag: ttn-vms-21-2-B4~8595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f4da9ceb518fc638f6557709aefcadb9c72204a;p=emacs.git Don't mention preferred-coding-system. make-char zeroes 8th bit of code args. --- diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index 769e13d5342..50bed73181f 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi @@ -325,9 +325,7 @@ belongs to. This function returns the charset property list of the character set @var{charset}. Although @var{charset} is a symbol, this is not the same as the property list of that symbol. Charset properties are used for -special purposes within Emacs; for example, -@code{preferred-coding-system} helps determine which coding system to -use to encode characters in a charset. +special purposes within Emacs. @end defun @node Chars and Bytes @@ -401,6 +399,11 @@ or both of @var{code1} and @var{code2} according to the dimension of (make-char 'latin-iso8859-1 72) @result{} 2248 @end example + +Actually, the eighth bit of both @var{code1} and @var{code2} is zeroed +before they are used to index @var{charset}. Thus you may use, for +instance, an ISO 8859 character code rather than subtracting 128, as +is necessary to index the corresponding Emacs charset. @end defun @cindex generic characters