diff options
| author | Dave Love | 2000-12-21 22:28:08 +0000 |
|---|---|---|
| committer | Dave Love | 2000-12-21 22:28:08 +0000 |
| commit | e8262f40f38446c054a593bfb96e876893a3160d (patch) | |
| tree | e70e9f54a65a1c423216ae8676e8185793e02378 | |
| parent | 6ba384dc773d5a6b2a1998b7b02971d53790d2e6 (diff) | |
| download | emacs-e8262f40f38446c054a593bfb96e876893a3160d.tar.gz emacs-e8262f40f38446c054a593bfb96e876893a3160d.zip | |
make-char change
| -rw-r--r-- | lispref/nonascii.texi | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index b69b300b498..3582658dadc 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi | |||
| @@ -382,12 +382,12 @@ values is the character set's dimension. | |||
| 382 | @end example | 382 | @end example |
| 383 | @end defun | 383 | @end defun |
| 384 | 384 | ||
| 385 | @defun make-char charset &rest byte-values | 385 | @defun make-char charset &optional code1 code2 |
| 386 | This function returns the character in character set @var{charset} | 386 | This function returns the character in character set @var{charset} whose |
| 387 | identified by @var{byte-values}. This is roughly the inverse of | 387 | position codes are @var{code1} and @var{code2}. This is roughly the |
| 388 | @code{split-char}. Normally, you should specify either one or two | 388 | inverse of @code{split-char}. Normally, you should specify either one |
| 389 | @var{byte-values}, according to the dimension of @var{charset}. For | 389 | or both of @var{code1} and @var{code2} according to the dimension of |
| 390 | example, | 390 | @var{charset}. For example, |
| 391 | 391 | ||
| 392 | @example | 392 | @example |
| 393 | (make-char 'latin-iso8859-1 72) | 393 | (make-char 'latin-iso8859-1 72) |
| @@ -416,7 +416,10 @@ For example: | |||
| 416 | @end example | 416 | @end example |
| 417 | 417 | ||
| 418 | The character sets @sc{ascii}, @sc{eight-bit-control}, and | 418 | The character sets @sc{ascii}, @sc{eight-bit-control}, and |
| 419 | @sc{eight-bit-graphic} don't have corresponding generic characters. | 419 | @sc{eight-bit-graphic} don't have corresponding generic characters. If |
| 420 | @var{charset} is one of them and you don't supply @var{code1}, | ||
| 421 | @code{make-char} returns the character code corresponding to the | ||
| 422 | smallest code in @var{charset}. | ||
| 420 | 423 | ||
| 421 | @node Scanning Charsets | 424 | @node Scanning Charsets |
| 422 | @section Scanning for Character Sets | 425 | @section Scanning for Character Sets |