diff options
| author | Eli Zaretskii | 2018-09-08 12:20:55 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-09-08 12:20:55 +0300 |
| commit | e48968561728d6c1d9e4e8753cd7eafa08e37ac7 (patch) | |
| tree | 7956545062a40da92c5ed73469879f7c28af9279 /src/font.c | |
| parent | f9a72b83abc0f8de85840269b59c228b55496dd4 (diff) | |
| download | emacs-e48968561728d6c1d9e4e8753cd7eafa08e37ac7.tar.gz emacs-e48968561728d6c1d9e4e8753cd7eafa08e37ac7.zip | |
Fix documentation for conversion to bignums
* src/xselect.c (selection_data_to_lisp_data):
* src/w32fns.c (Fw32_read_registry):
* src/process.c (Fprocess_id):
* src/font.c (Ffont_variation_glyphs, Finternal_char_font):
* src/fns.c (Fsafe_length):
* src/editfns.c (Fuser_uid, Fuser_real_uid, Fgroup_gid)
(Fgroup_real_gid, Femacs_pid):
* src/dired.c (Ffile_attributes):
* src/charset.c (Fencode_char): Update commentary and doc
strings for recent changes that produce bignums where
previously cons cells of integers were produced.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index 50ec39a9a49..799d5db205c 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -4485,7 +4485,8 @@ Each element of the value is a cons (VARIATION-SELECTOR . GLYPH-ID), | |||
| 4485 | where | 4485 | where |
| 4486 | VARIATION-SELECTOR is a character code of variation selection | 4486 | VARIATION-SELECTOR is a character code of variation selection |
| 4487 | (#xFE00..#xFE0F or #xE0100..#xE01EF) | 4487 | (#xFE00..#xFE0F or #xE0100..#xE01EF) |
| 4488 | GLYPH-ID is a glyph code of the corresponding variation glyph. */) | 4488 | GLYPH-ID is a glyph code of the corresponding variation glyph, |
| 4489 | a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 4489 | (Lisp_Object font_object, Lisp_Object character) | 4490 | (Lisp_Object font_object, Lisp_Object character) |
| 4490 | { | 4491 | { |
| 4491 | unsigned variations[256]; | 4492 | unsigned variations[256]; |
| @@ -4522,7 +4523,8 @@ where | |||
| 4522 | that apply to POSITION. POSITION may be nil, in which case, | 4523 | that apply to POSITION. POSITION may be nil, in which case, |
| 4523 | FONT-SPEC is the font for displaying the character CH with the | 4524 | FONT-SPEC is the font for displaying the character CH with the |
| 4524 | default face. GLYPH-CODE is the glyph code in the font to use for | 4525 | default face. GLYPH-CODE is the glyph code in the font to use for |
| 4525 | the character. | 4526 | the character, it is a fixnum, if it is small enough, otherwise a |
| 4527 | bignum. | ||
| 4526 | 4528 | ||
| 4527 | For a text terminal, return a nonnegative integer glyph code for | 4529 | For a text terminal, return a nonnegative integer glyph code for |
| 4528 | the character, or a negative integer if the character is not | 4530 | the character, or a negative integer if the character is not |