diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2022-10-13 21:13:45 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2022-10-13 21:13:45 +0200 |
commit | cbd04ad3d572850775f18bde868c71abcde733ed (patch) | |
tree | cca60866632ff253cbc5062ab7483379e81a1376 /doc/lispref/buffers.texi | |
parent | 10f55975d34dd7299f72fdf8d93fd8cbe2e41e25 (diff) | |
download | emacs-cbd04ad3d572850775f18bde868c71abcde733ed.tar.gz |
Clarify structure of file-attribute's device number
* doc/lispref/buffers.texi (Buffer File Name): Fix description of
buffer-file-number.
* doc/lispref/files.texi (File Attributes): Clarify type of device
number. Describe file-attribute-file-number. (Bug#58446)
* etc/NEWS: Mention file-attribute-file-number.
* lisp/files.el (buffer-file-number, file-attribute-device-number)
(file-attribute-collect): Fix docstring.
(file-attribute-file-number): New defsubst.
(find-buffer-visiting, find-file-noselect)
(set-visited-file-name, basic-save-buffer):
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
* lisp/eshell/em-unix.el (eshell-shuffle-files): Use it.
* src/dired.c (Ffile_attributes): Fix docstring.
Diffstat (limited to 'doc/lispref/buffers.texi')
-rw-r--r-- | doc/lispref/buffers.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 6a1d125701c..b46b6c52d86 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi @@ -427,12 +427,12 @@ It is a permanent local, unaffected by @end defvar @defvar buffer-file-number -This buffer-local variable holds the file number and directory device +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 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{filenum} +The value is normally a list of the form @code{(@var{inodenum} @var{devnum})}. This pair of numbers uniquely identifies the file among all files accessible on the system. See the function @code{file-attributes}, in @ref{File Attributes}, for more information |