aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
authorEli Zaretskii2018-09-08 12:20:55 +0300
committerEli Zaretskii2018-09-08 12:20:55 +0300
commite48968561728d6c1d9e4e8753cd7eafa08e37ac7 (patch)
tree7956545062a40da92c5ed73469879f7c28af9279 /src/dired.c
parentf9a72b83abc0f8de85840269b59c228b55496dd4 (diff)
downloademacs-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/dired.c')
-rw-r--r--src/dired.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/dired.c b/src/dired.c
index c4cda400a06..70c5bb24b4e 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -867,7 +867,8 @@ Elements of the attribute list are:
867 0. t for directory, string (name linked to) for symbolic link, or nil. 867 0. t for directory, string (name linked to) for symbolic link, or nil.
868 1. Number of links to file. 868 1. Number of links to file.
869 2. File uid as a string or a number. If a string value cannot be 869 2. File uid as a string or a number. If a string value cannot be
870 looked up, an integer value is returned. 870 looked up, an integer value is returned, which could be a fixnum,
871 if it's small enough, otherwise a bignum.
871 3. File gid, likewise. 872 3. File gid, likewise.
872 4. Last access time, as a list of integers (HIGH LOW USEC PSEC) in the 873 4. Last access time, as a list of integers (HIGH LOW USEC PSEC) in the
873 same style as (current-time). 874 same style as (current-time).
@@ -876,16 +877,14 @@ Elements of the attribute list are:
876 change to the file's contents. 877 change to the file's contents.
877 6. Last status change time, likewise. This is the time of last change 878 6. Last status change time, likewise. This is the time of last change
878 to the file's attributes: owner and group, access mode bits, etc. 879 to the file's attributes: owner and group, access mode bits, etc.
879 7. Size in bytes. 880 7. Size in bytes, which could be a fixnum, if it's small enough,
881 otherwise a bignum.
880 8. File modes, as a string of ten letters or dashes as in ls -l. 882 8. File modes, as a string of ten letters or dashes as in ls -l.
881 9. An unspecified value, present only for backward compatibility. 883 9. An unspecified value, present only for backward compatibility.
88210. inode number. If it is larger than what an Emacs integer can hold, 88410. inode number, which could be a fixnum, if it's small enough,
883 this is of the form (HIGH . LOW): first the high bits, then the low 16 bits. 885 otherwise a bignum.
884 If even HIGH is too large for an Emacs integer, this is instead of the form 88611. Filesystem device number. If it is larger than what a fixnum
885 (HIGH MIDDLE . LOW): first the high bits, then the middle 24 bits, 887 can hold, it is a bignum.
886 and finally the low 16 bits.
88711. Filesystem device number. If it is larger than what the Emacs
888 integer can hold, this is a cons cell, similar to the inode number.
889 888
890On most filesystems, the combination of the inode and the device 889On most filesystems, the combination of the inode and the device
891number uniquely identifies the file. 890number uniquely identifies the file.