diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/files.texi | 25 | ||||
| -rw-r--r-- | doc/lispref/intro.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 3 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 4 |
4 files changed, 17 insertions, 17 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index c50e358beb5..5682919b645 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1299,28 +1299,27 @@ Alternate names, also known as hard links, can be created by using the | |||
| 1299 | @item | 1299 | @item |
| 1300 | The file's @acronym{UID}, normally as a string | 1300 | The file's @acronym{UID}, normally as a string |
| 1301 | (@code{file-attribute-user-id}). However, if it does not correspond | 1301 | (@code{file-attribute-user-id}). However, if it does not correspond |
| 1302 | to a named user, the value is a number. | 1302 | to a named user, the value is an integer. |
| 1303 | 1303 | ||
| 1304 | @item | 1304 | @item |
| 1305 | The file's @acronym{GID}, likewise (@code{file-attribute-group-id}). | 1305 | The file's @acronym{GID}, likewise (@code{file-attribute-group-id}). |
| 1306 | 1306 | ||
| 1307 | @item | 1307 | @item |
| 1308 | The time of last access, as a list of four integers | 1308 | The time of last access as a Lisp timestamp |
| 1309 | @code{(@var{sec-high} @var{sec-low} @var{microsec} @var{picosec})} | 1309 | (@code{file-attribute-status-change-time}). The timestamp is in the |
| 1310 | (@code{file-attribute-access-time}). (This is similar to the value of | 1310 | style of @code{current-time} (@pxref{Time of Day}) and is truncated |
| 1311 | @code{current-time}; see @ref{Time of Day}.) The value is truncated | ||
| 1312 | to that of the filesystem's timestamp resolution; for example, on some | 1311 | to that of the filesystem's timestamp resolution; for example, on some |
| 1313 | FAT-based filesystems, only the date of last access is recorded, so | 1312 | FAT-based filesystems, only the date of last access is recorded, so |
| 1314 | this time will always hold the midnight of the day of the last access. | 1313 | this time will always hold the midnight of the day of the last access. |
| 1315 | 1314 | ||
| 1316 | @cindex modification time of file | 1315 | @cindex modification time of file |
| 1317 | @item | 1316 | @item |
| 1318 | The time of last modification as a list of four integers (as above) | 1317 | The time of last modification as a Lisp timestamp |
| 1319 | (@code{file-attribute-modification-time}). This is the last time when | 1318 | (@code{file-attribute-modification-time}). This is the last time when |
| 1320 | the file's contents were modified. | 1319 | the file's contents were modified. |
| 1321 | 1320 | ||
| 1322 | @item | 1321 | @item |
| 1323 | The time of last status change as a list of four integers (as above) | 1322 | The time of last status change as a Lisp timestamp |
| 1324 | (@code{file-attribute-status-change-time}). This is the time of the | 1323 | (@code{file-attribute-status-change-time}). This is the time of the |
| 1325 | last change to the file's access mode bits, its owner and group, and | 1324 | last change to the file's access mode bits, its owner and group, and |
| 1326 | other information recorded in the filesystem for the file, beyond the | 1325 | other information recorded in the filesystem for the file, beyond the |
| @@ -1337,11 +1336,12 @@ The file's modes, as a string of ten letters or dashes, as in | |||
| 1337 | An unspecified value, present for backward compatibility. | 1336 | An unspecified value, present for backward compatibility. |
| 1338 | 1337 | ||
| 1339 | @item | 1338 | @item |
| 1340 | The file's inode number (@code{file-attribute-inode-number}). | 1339 | The file's inode number (@code{file-attribute-inode-number}), |
| 1340 | a nonnegative integer. | ||
| 1341 | 1341 | ||
| 1342 | @item | 1342 | @item |
| 1343 | The filesystem number of the device that the file is on | 1343 | The filesystem number of the device that the file is on |
| 1344 | @code{file-attribute-device-number}). | 1344 | @code{file-attribute-device-number}), an integer. |
| 1345 | This element and the file's inode number | 1345 | This element and the file's inode number |
| 1346 | together give enough information to distinguish any two files on the | 1346 | together give enough information to distinguish any two files on the |
| 1347 | system---no two files can have the same values for both of these | 1347 | system---no two files can have the same values for both of these |
| @@ -2918,7 +2918,7 @@ are included. | |||
| 2918 | This is similar to @code{directory-files} in deciding which files | 2918 | This is similar to @code{directory-files} in deciding which files |
| 2919 | to report on and how to report their names. However, instead | 2919 | to report on and how to report their names. However, instead |
| 2920 | of returning a list of file names, it returns for each file a | 2920 | of returning a list of file names, it returns for each file a |
| 2921 | list @code{(@var{filename} @var{attributes})}, where @var{attributes} | 2921 | list @code{(@var{filename} . @var{attributes})}, where @var{attributes} |
| 2922 | is what @code{file-attributes} returns for that file. | 2922 | is what @code{file-attributes} returns for that file. |
| 2923 | The optional argument @var{id-format} has the same meaning as the | 2923 | The optional argument @var{id-format} has the same meaning as the |
| 2924 | corresponding argument to @code{file-attributes} (@pxref{Definition | 2924 | corresponding argument to @code{file-attributes} (@pxref{Definition |
| @@ -3410,8 +3410,9 @@ between consecutive checks. For example: | |||
| 3410 | (let ((remote-file-name-inhibit-cache | 3410 | (let ((remote-file-name-inhibit-cache |
| 3411 | (- display-time-interval 5))) | 3411 | (- display-time-interval 5))) |
| 3412 | (and (file-exists-p file) | 3412 | (and (file-exists-p file) |
| 3413 | (< 0 (nth 7 (file-attributes | 3413 | (< 0 (file-attribute-size |
| 3414 | (file-chase-links file))))))) | 3414 | (file-attributes |
| 3415 | (file-chase-links file))))))) | ||
| 3415 | @end example | 3416 | @end example |
| 3416 | @end defopt | 3417 | @end defopt |
| 3417 | 3418 | ||
diff --git a/doc/lispref/intro.texi b/doc/lispref/intro.texi index f421f3b3efb..197f54ecc52 100644 --- a/doc/lispref/intro.texi +++ b/doc/lispref/intro.texi | |||
| @@ -493,7 +493,7 @@ giving a prefix argument makes @var{here} non-@code{nil}. | |||
| 493 | 493 | ||
| 494 | @defvar emacs-build-time | 494 | @defvar emacs-build-time |
| 495 | The value of this variable indicates the time at which Emacs was | 495 | The value of this variable indicates the time at which Emacs was |
| 496 | built. It is a list of four integers, like the value of | 496 | built. It uses the style of |
| 497 | @code{current-time} (@pxref{Time of Day}), or is @code{nil} | 497 | @code{current-time} (@pxref{Time of Day}), or is @code{nil} |
| 498 | if the information is not available. | 498 | if the information is not available. |
| 499 | 499 | ||
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 43ca9ede00b..8481fea8062 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1991,8 +1991,7 @@ the idleness time, as described below. | |||
| 1991 | 1991 | ||
| 1992 | @defun current-idle-time | 1992 | @defun current-idle-time |
| 1993 | If Emacs is idle, this function returns the length of time Emacs has | 1993 | If Emacs is idle, this function returns the length of time Emacs has |
| 1994 | been idle, as a list of four integers: @code{(@var{sec-high} | 1994 | been idle, using the same format as |
| 1995 | @var{sec-low} @var{microsec} @var{picosec})}, using the same format as | ||
| 1996 | @code{current-time} (@pxref{Time of Day}). | 1995 | @code{current-time} (@pxref{Time of Day}). |
| 1997 | 1996 | ||
| 1998 | When Emacs is not idle, @code{current-idle-time} returns @code{nil}. | 1997 | When Emacs is not idle, @code{current-idle-time} returns @code{nil}. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 6ccb9e55f31..40cc44a12e7 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -25889,13 +25889,13 @@ Reset: (setq spam-stat (make-hash-table :test 'equal)) | |||
| 25889 | Learn spam: (spam-stat-process-spam-directory "~/Mail/mail/spam") | 25889 | Learn spam: (spam-stat-process-spam-directory "~/Mail/mail/spam") |
| 25890 | Learn non-spam: (spam-stat-process-non-spam-directory "~/Mail/mail/misc") | 25890 | Learn non-spam: (spam-stat-process-non-spam-directory "~/Mail/mail/misc") |
| 25891 | Save table: (spam-stat-save) | 25891 | Save table: (spam-stat-save) |
| 25892 | File size: (nth 7 (file-attributes spam-stat-file)) | 25892 | File size: (file-attribute-size (file-attributes spam-stat-file)) |
| 25893 | Number of words: (hash-table-count spam-stat) | 25893 | Number of words: (hash-table-count spam-stat) |
| 25894 | Test spam: (spam-stat-test-directory "~/Mail/mail/spam") | 25894 | Test spam: (spam-stat-test-directory "~/Mail/mail/spam") |
| 25895 | Test non-spam: (spam-stat-test-directory "~/Mail/mail/misc") | 25895 | Test non-spam: (spam-stat-test-directory "~/Mail/mail/misc") |
| 25896 | Reduce table size: (spam-stat-reduce-size) | 25896 | Reduce table size: (spam-stat-reduce-size) |
| 25897 | Save table: (spam-stat-save) | 25897 | Save table: (spam-stat-save) |
| 25898 | File size: (nth 7 (file-attributes spam-stat-file)) | 25898 | File size: (file-attribute-size (file-attributes spam-stat-file)) |
| 25899 | Number of words: (hash-table-count spam-stat) | 25899 | Number of words: (hash-table-count spam-stat) |
| 25900 | Test spam: (spam-stat-test-directory "~/Mail/mail/spam") | 25900 | Test spam: (spam-stat-test-directory "~/Mail/mail/spam") |
| 25901 | Test non-spam: (spam-stat-test-directory "~/Mail/mail/misc") | 25901 | Test non-spam: (spam-stat-test-directory "~/Mail/mail/misc") |