Mercurial > emacs
changeset 34811:c2170032744b
make-char change
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 21 Dec 2000 22:28:08 +0000 |
parents | 61d22833847a |
children | 6506a2f76b62 |
files | lispref/nonascii.texi |
diffstat | 1 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/nonascii.texi Thu Dec 21 21:27:37 2000 +0000 +++ b/lispref/nonascii.texi Thu Dec 21 22:28:08 2000 +0000 @@ -382,12 +382,12 @@ @end example @end defun -@defun make-char charset &rest byte-values -This function returns the character in character set @var{charset} -identified by @var{byte-values}. This is roughly the inverse of -@code{split-char}. Normally, you should specify either one or two -@var{byte-values}, according to the dimension of @var{charset}. For -example, +@defun make-char charset &optional code1 code2 +This function returns the character in character set @var{charset} whose +position codes are @var{code1} and @var{code2}. This is roughly the +inverse of @code{split-char}. Normally, you should specify either one +or both of @var{code1} and @var{code2} according to the dimension of +@var{charset}. For example, @example (make-char 'latin-iso8859-1 72) @@ -416,7 +416,10 @@ @end example The character sets @sc{ascii}, @sc{eight-bit-control}, and -@sc{eight-bit-graphic} don't have corresponding generic characters. +@sc{eight-bit-graphic} don't have corresponding generic characters. If +@var{charset} is one of them and you don't supply @var{code1}, +@code{make-char} returns the character code corresponding to the +smallest code in @var{charset}. @node Scanning Charsets @section Scanning for Character Sets