summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-09-08 12:20:55 +0300
committerEli Zaretskii <eliz@gnu.org>2018-09-08 12:20:55 +0300
commite48968561728d6c1d9e4e8753cd7eafa08e37ac7 (patch)
tree7956545062a40da92c5ed73469879f7c28af9279 /src/w32fns.c
parentf9a72b83abc0f8de85840269b59c228b55496dd4 (diff)
downloademacs-e48968561728d6c1d9e4e8753cd7eafa08e37ac7.tar.gz
emacs-e48968561728d6c1d9e4e8753cd7eafa08e37ac7.tar.bz2
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/w32fns.c')
-rw-r--r--src/w32fns.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 153cba9f755..9a9789d8af3 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -10100,19 +10100,16 @@ the return value depends on the type of the data stored in Registry:
If the data type is REG_NONE, the function returns t.
If the data type is REG_DWORD or REG_QWORD, the function returns
- its integer value. If the value is too large for a Lisp integer,
- the function returns a cons (HIGH . LOW) of 2 integers, with LOW
- the low 16 bits and HIGH the high bits. If HIGH is too large for
- a Lisp integer, the function returns (HIGH MIDDLE . LOW), first
- the high bits, then the middle 24 bits, and finally the low 16 bits.
+ its integer value. If the value is too large for a fixnum,
+ the function returns a bignum.
If the data type is REG_BINARY, the function returns a vector whose
elements are individual bytes of the value.
If the data type is REG_SZ, the function returns a string.
- If the data type REG_EXPAND_SZ, the function returns a string with
- all the %..% references to environment variables replaced by the
- values of those variables. If the expansion fails, or some
- variables are not defined in the environment, some or all of
- the environment variables will remain unexpanded.
+ If the data type is REG_EXPAND_SZ, the function returns a string
+ with all the %..% references to environment variables replaced
+ by the values of those variables. If the expansion fails, or
+ some variables are not defined in the environment, some or all
+ of the environment variables will remain unexpanded.
If the data type is REG_MULTI_SZ, the function returns a list whose
elements are the individual strings.