summaryrefslogtreecommitdiff
path: root/doc/lispref/files.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-14 10:12:03 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-14 10:12:03 +0300
commit9074103fbff70a30664b291f5ea3af443f88e4d8 (patch)
treea5ad557960c0ec56eaa454b7d6a867f49aeede4e /doc/lispref/files.texi
parent6cab30620f2234a1759074202caf2beafed12b69 (diff)
downloademacs-9074103fbff70a30664b291f5ea3af443f88e4d8.tar.gz
emacs-9074103fbff70a30664b291f5ea3af443f88e4d8.tar.bz2
emacs-9074103fbff70a30664b291f5ea3af443f88e4d8.zip
; Fix recent change in documentation of "device number"
* src/dired.c (Ffile_attributes): * lisp/files.el (buffer-file-number, file-attribute-file-number): Fix wording of the doc strings. * etc/NEWS: * doc/lispref/buffers.texi (Buffer File Name): * doc/lispref/files.texi (File Attributes): Fix a typo and wording. (Bug#58446)
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r--doc/lispref/files.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index b9d4e87dc73..2467364dc6e 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1404,16 +1404,16 @@ The file's inode number (@code{file-attribute-inode-number}),
a nonnegative integer.
@item
-The filesystem number of the device that the file is on
+The filesystem's identifier of the device that the file is on
(@code{file-attribute-device-number}), an integer or a cons cell of
-integers. The latter is sometimes used by remote files, in order to
-distinguish the remote filesystems from the local ones.
+two integers. The latter is sometimes used by remote files, in order
+to distinguish remote filesystems from local ones.
@end enumerate
-The file's inode and device numbers together give enough information
+The file's inode and device together give enough information
to distinguish any two files on the system---no two files can have the
-same values for both of these numbers. This tupel is returned by
-@code{file-attribute-file-number}.
+same values for both of these attributes. This tuple that uniquely
+identifies the file is returned by @code{file-attribute-file-number}.
For example, here are the file attributes for @file{files.texi}: