summaryrefslogtreecommitdiff
path: root/doc/lispref/buffers.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/buffers.texi
parent6cab30620f2234a1759074202caf2beafed12b69 (diff)
downloademacs-9074103fbff70a30664b291f5ea3af443f88e4d8.tar.gz
; 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/buffers.texi')
-rw-r--r--doc/lispref/buffers.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi
index b46b6c52d86..c40e088293e 100644
--- a/doc/lispref/buffers.texi
+++ b/doc/lispref/buffers.texi
@@ -427,19 +427,19 @@ It is a permanent local, unaffected by
@end defvar
@defvar buffer-file-number
-This buffer-local variable holds the inode number and directory device
-number of the file visited in the current buffer, or @code{nil} if no
+This buffer-local variable holds the inode number and device
+identifier of the file visited in the current buffer, or @code{nil} if no
file or a nonexistent file is visited. It is a permanent local,
unaffected by @code{kill-all-local-variables}.
The value is normally a list of the form @code{(@var{inodenum}
-@var{devnum})}. This pair of numbers uniquely identifies the file among
+@var{device})}. This tuple uniquely identifies the file among
all files accessible on the system. See the function
@code{file-attributes}, in @ref{File Attributes}, for more information
about them.
If @code{buffer-file-name} is the name of a symbolic link, then both
-numbers refer to the recursive target.
+@var{inodenum} and @var{device} refer to the recursive target of the link.
@end defvar
@defun get-file-buffer filename