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/editfns.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/editfns.c')
| -rw-r--r-- | src/editfns.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/editfns.c b/src/editfns.c index 191a9ab8f8a..f19c3f1dca9 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1377,7 +1377,8 @@ This ignores the environment variables LOGNAME and USER, so it differs from | |||
| 1377 | } | 1377 | } |
| 1378 | 1378 | ||
| 1379 | DEFUN ("user-uid", Fuser_uid, Suser_uid, 0, 0, 0, | 1379 | DEFUN ("user-uid", Fuser_uid, Suser_uid, 0, 0, 0, |
| 1380 | doc: /* Return the effective uid of Emacs. */) | 1380 | doc: /* Return the effective uid of Emacs. |
| 1381 | Value is a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 1381 | (void) | 1382 | (void) |
| 1382 | { | 1383 | { |
| 1383 | uid_t euid = geteuid (); | 1384 | uid_t euid = geteuid (); |
| @@ -1385,7 +1386,8 @@ DEFUN ("user-uid", Fuser_uid, Suser_uid, 0, 0, 0, | |||
| 1385 | } | 1386 | } |
| 1386 | 1387 | ||
| 1387 | DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, | 1388 | DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, |
| 1388 | doc: /* Return the real uid of Emacs. */) | 1389 | doc: /* Return the real uid of Emacs. |
| 1390 | Value is a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 1389 | (void) | 1391 | (void) |
| 1390 | { | 1392 | { |
| 1391 | uid_t uid = getuid (); | 1393 | uid_t uid = getuid (); |
| @@ -1393,7 +1395,8 @@ DEFUN ("user-real-uid", Fuser_real_uid, Suser_real_uid, 0, 0, 0, | |||
| 1393 | } | 1395 | } |
| 1394 | 1396 | ||
| 1395 | DEFUN ("group-gid", Fgroup_gid, Sgroup_gid, 0, 0, 0, | 1397 | DEFUN ("group-gid", Fgroup_gid, Sgroup_gid, 0, 0, 0, |
| 1396 | doc: /* Return the effective gid of Emacs. */) | 1398 | doc: /* Return the effective gid of Emacs. |
| 1399 | Value is a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 1397 | (void) | 1400 | (void) |
| 1398 | { | 1401 | { |
| 1399 | gid_t egid = getegid (); | 1402 | gid_t egid = getegid (); |
| @@ -1401,7 +1404,8 @@ DEFUN ("group-gid", Fgroup_gid, Sgroup_gid, 0, 0, 0, | |||
| 1401 | } | 1404 | } |
| 1402 | 1405 | ||
| 1403 | DEFUN ("group-real-gid", Fgroup_real_gid, Sgroup_real_gid, 0, 0, 0, | 1406 | DEFUN ("group-real-gid", Fgroup_real_gid, Sgroup_real_gid, 0, 0, 0, |
| 1404 | doc: /* Return the real gid of Emacs. */) | 1407 | doc: /* Return the real gid of Emacs. |
| 1408 | Value is a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 1405 | (void) | 1409 | (void) |
| 1406 | { | 1410 | { |
| 1407 | gid_t gid = getgid (); | 1411 | gid_t gid = getgid (); |
| @@ -1481,7 +1485,8 @@ DEFUN ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0, | |||
| 1481 | } | 1485 | } |
| 1482 | 1486 | ||
| 1483 | DEFUN ("emacs-pid", Femacs_pid, Semacs_pid, 0, 0, 0, | 1487 | DEFUN ("emacs-pid", Femacs_pid, Semacs_pid, 0, 0, 0, |
| 1484 | doc: /* Return the process ID of Emacs, as a number. */) | 1488 | doc: /* Return the process ID of Emacs, as a number. |
| 1489 | Value is a fixnum, if it's small enough, otherwise a bignum. */) | ||
| 1485 | (void) | 1490 | (void) |
| 1486 | { | 1491 | { |
| 1487 | pid_t pid = getpid (); | 1492 | pid_t pid = getpid (); |