diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 10 | ||||
| -rw-r--r-- | src/dired.c | 20 | ||||
| -rw-r--r-- | src/editfns.c | 3 | ||||
| -rw-r--r-- | src/fileio.c | 12 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/process.c | 5 |
6 files changed, 23 insertions, 31 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1f18dbd11a8..024e64f0d74 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -6010,11 +6010,11 @@ An entry (TEXT . POSITION) represents the deletion of the string TEXT | |||
| 6010 | from (abs POSITION). If POSITION is positive, point was at the front | 6010 | from (abs POSITION). If POSITION is positive, point was at the front |
| 6011 | of the text being deleted; if negative, point was at the end. | 6011 | of the text being deleted; if negative, point was at the end. |
| 6012 | 6012 | ||
| 6013 | An entry (t HIGH LOW USEC PSEC) indicates that the buffer was previously | 6013 | An entry (t . TIMESTAMP), where TIMESTAMP is in the style of |
| 6014 | unmodified; (HIGH LOW USEC PSEC) is in the same style as (current-time) | 6014 | `current-time', indicates that the buffer was previously unmodified; |
| 6015 | and is the visited file's modification time, as of that time. If the | 6015 | TIMESTAMP is the visited file's modification time, as of that time. |
| 6016 | modification time of the most recent save is different, this entry is | 6016 | If the modification time of the most recent save is different, this |
| 6017 | obsolete. | 6017 | entry is obsolete. |
| 6018 | 6018 | ||
| 6019 | An entry (t . 0) means the buffer was previously unmodified but | 6019 | An entry (t . 0) means the buffer was previously unmodified but |
| 6020 | its time stamp was unknown because it was not associated with a file. | 6020 | its time stamp was unknown because it was not associated with a file. |
diff --git a/src/dired.c b/src/dired.c index 70c5bb24b4e..7ad401c728b 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -347,7 +347,7 @@ DEFUN ("directory-files-and-attributes", Fdirectory_files_and_attributes, | |||
| 347 | doc: /* Return a list of names of files and their attributes in DIRECTORY. | 347 | doc: /* Return a list of names of files and their attributes in DIRECTORY. |
| 348 | Value is a list of the form: | 348 | Value is a list of the form: |
| 349 | 349 | ||
| 350 | ((FILE1 FILE1-ATTRS) (FILE2 FILE2-ATTRS) ...) | 350 | ((FILE1 . FILE1-ATTRS) (FILE2 . FILE2-ATTRS) ...) |
| 351 | 351 | ||
| 352 | where each FILEn-ATTRS is the attributes of FILEn as returned | 352 | where each FILEn-ATTRS is the attributes of FILEn as returned |
| 353 | by `file-attributes'. | 353 | by `file-attributes'. |
| @@ -866,26 +866,22 @@ provided: `file-attribute-type', `file-attribute-link-number', | |||
| 866 | Elements of the attribute list are: | 866 | 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 (if ID-FORMAT is `integer' or a string value |
| 870 | looked up, an integer value is returned, which could be a fixnum, | 870 | cannot be looked up) as an integer. |
| 871 | if it's small enough, otherwise a bignum. | ||
| 872 | 3. File gid, likewise. | 871 | 3. File gid, likewise. |
| 873 | 4. Last access time, as a list of integers (HIGH LOW USEC PSEC) in the | 872 | 4. Last access time, in the style of `current-time'. |
| 874 | same style as (current-time). | ||
| 875 | (See a note below about access time on FAT-based filesystems.) | 873 | (See a note below about access time on FAT-based filesystems.) |
| 876 | 5. Last modification time, likewise. This is the time of the last | 874 | 5. Last modification time, likewise. This is the time of the last |
| 877 | change to the file's contents. | 875 | change to the file's contents. |
| 878 | 6. Last status change time, likewise. This is the time of last change | 876 | 6. Last status change time, likewise. This is the time of last change |
| 879 | to the file's attributes: owner and group, access mode bits, etc. | 877 | to the file's attributes: owner and group, access mode bits, etc. |
| 880 | 7. Size in bytes, which could be a fixnum, if it's small enough, | 878 | 7. Size in bytes, as an integer. |
| 881 | otherwise a bignum. | ||
| 882 | 8. File modes, as a string of ten letters or dashes as in ls -l. | 879 | 8. File modes, as a string of ten letters or dashes as in ls -l. |
| 883 | 9. An unspecified value, present only for backward compatibility. | 880 | 9. An unspecified value, present only for backward compatibility. |
| 884 | 10. inode number, which could be a fixnum, if it's small enough, | 881 | 10. inode number, as a nonnegative integer. |
| 885 | otherwise a bignum. | 882 | 11. Filesystem device number, as an integer. |
| 886 | 11. Filesystem device number. If it is larger than what a fixnum | ||
| 887 | can hold, it is a bignum. | ||
| 888 | 883 | ||
| 884 | Large integers are bignums, so `eq' might not work on them. | ||
| 889 | On most filesystems, the combination of the inode and the device | 885 | On most filesystems, the combination of the inode and the device |
| 890 | number uniquely identifies the file. | 886 | number uniquely identifies the file. |
| 891 | 887 | ||
diff --git a/src/editfns.c b/src/editfns.c index 047a73f0b8c..ec6e8ba98d6 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1656,8 +1656,7 @@ See `current-time-string' for the various forms of a time value. */) | |||
| 1656 | DEFUN ("get-internal-run-time", Fget_internal_run_time, Sget_internal_run_time, | 1656 | DEFUN ("get-internal-run-time", Fget_internal_run_time, Sget_internal_run_time, |
| 1657 | 0, 0, 0, | 1657 | 0, 0, 0, |
| 1658 | doc: /* Return the current run time used by Emacs. | 1658 | doc: /* Return the current run time used by Emacs. |
| 1659 | The time is returned as a list (HIGH LOW USEC PSEC), using the same | 1659 | The time is returned as in the style of `current-time'. |
| 1660 | style as (current-time). | ||
| 1661 | 1660 | ||
| 1662 | On systems that can't determine the run time, `get-internal-run-time' | 1661 | On systems that can't determine the run time, `get-internal-run-time' |
| 1663 | does the same thing as `current-time'. */) | 1662 | does the same thing as `current-time'. */) |
diff --git a/src/fileio.c b/src/fileio.c index 5ca7c595f7d..7fb865809f5 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5454,10 +5454,9 @@ See Info node `(elisp)Modification Time' for more details. */) | |||
| 5454 | DEFUN ("visited-file-modtime", Fvisited_file_modtime, | 5454 | DEFUN ("visited-file-modtime", Fvisited_file_modtime, |
| 5455 | Svisited_file_modtime, 0, 0, 0, | 5455 | Svisited_file_modtime, 0, 0, 0, |
| 5456 | doc: /* Return the current buffer's recorded visited file modification time. | 5456 | doc: /* Return the current buffer's recorded visited file modification time. |
| 5457 | The value is a list of the form (HIGH LOW USEC PSEC), like the time values that | 5457 | Return a Lisp timestamp (as in `current-time') if the current buffer |
| 5458 | `file-attributes' returns. If the current buffer has no recorded file | 5458 | has a recorded file modification time, 0 if it doesn't, and -1 if the |
| 5459 | modification time, this function returns 0. If the visited file | 5459 | visited file doesn't exist. |
| 5460 | doesn't exist, return -1. | ||
| 5461 | See Info node `(elisp)Modification Time' for more details. */) | 5460 | See Info node `(elisp)Modification Time' for more details. */) |
| 5462 | (void) | 5461 | (void) |
| 5463 | { | 5462 | { |
| @@ -5473,9 +5472,8 @@ DEFUN ("set-visited-file-modtime", Fset_visited_file_modtime, | |||
| 5473 | Useful if the buffer was not read from the file normally | 5472 | Useful if the buffer was not read from the file normally |
| 5474 | or if the file itself has been changed for some known benign reason. | 5473 | or if the file itself has been changed for some known benign reason. |
| 5475 | An argument specifies the modification time value to use | 5474 | An argument specifies the modification time value to use |
| 5476 | \(instead of that of the visited file), in the form of a list | 5475 | \(instead of that of the visited file), in the form of a time value as |
| 5477 | \(HIGH LOW USEC PSEC) or an integer flag as returned by | 5476 | in `current-time' or an integer flag as returned by `visited-file-modtime'. */) |
| 5478 | `visited-file-modtime'. */) | ||
| 5479 | (Lisp_Object time_flag) | 5477 | (Lisp_Object time_flag) |
| 5480 | { | 5478 | { |
| 5481 | if (!NILP (time_flag)) | 5479 | if (!NILP (time_flag)) |
diff --git a/src/keyboard.c b/src/keyboard.c index 008d3b9d7c0..1c1f1514ae8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4377,8 +4377,8 @@ timer_check (void) | |||
| 4377 | 4377 | ||
| 4378 | DEFUN ("current-idle-time", Fcurrent_idle_time, Scurrent_idle_time, 0, 0, 0, | 4378 | DEFUN ("current-idle-time", Fcurrent_idle_time, Scurrent_idle_time, 0, 0, 0, |
| 4379 | doc: /* Return the current length of Emacs idleness, or nil. | 4379 | doc: /* Return the current length of Emacs idleness, or nil. |
| 4380 | The value when Emacs is idle is a list of four integers (HIGH LOW USEC PSEC) | 4380 | The value when Emacs is idle is a Lisp timestamp in the style of |
| 4381 | in the same style as (current-time). | 4381 | `current-time'. |
| 4382 | 4382 | ||
| 4383 | The value when Emacs is not idle is nil. | 4383 | The value when Emacs is not idle is nil. |
| 4384 | 4384 | ||
diff --git a/src/process.c b/src/process.c index b4ba641f31b..a9638dfc2df 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7934,8 +7934,7 @@ integer or floating point values. | |||
| 7934 | majflt -- number of major page faults (number) | 7934 | majflt -- number of major page faults (number) |
| 7935 | cminflt -- cumulative number of minor page faults (number) | 7935 | cminflt -- cumulative number of minor page faults (number) |
| 7936 | cmajflt -- cumulative number of major page faults (number) | 7936 | cmajflt -- cumulative number of major page faults (number) |
| 7937 | utime -- user time used by the process, in (current-time) format, | 7937 | utime -- user time used by the process, in `current-time' format |
| 7938 | which is a list of integers (HIGH LOW USEC PSEC) | ||
| 7939 | stime -- system time used by the process (current-time) | 7938 | stime -- system time used by the process (current-time) |
| 7940 | time -- sum of utime and stime (current-time) | 7939 | time -- sum of utime and stime (current-time) |
| 7941 | cutime -- user time used by the process and its children (current-time) | 7940 | cutime -- user time used by the process and its children (current-time) |
| @@ -7947,7 +7946,7 @@ integer or floating point values. | |||
| 7947 | start -- time the process started (current-time) | 7946 | start -- time the process started (current-time) |
| 7948 | vsize -- virtual memory size of the process in KB's (number) | 7947 | vsize -- virtual memory size of the process in KB's (number) |
| 7949 | rss -- resident set size of the process in KB's (number) | 7948 | rss -- resident set size of the process in KB's (number) |
| 7950 | etime -- elapsed time the process is running, in (HIGH LOW USEC PSEC) format | 7949 | etime -- elapsed time the process is running (current-time) |
| 7951 | pcpu -- percents of CPU time used by the process (floating-point number) | 7950 | pcpu -- percents of CPU time used by the process (floating-point number) |
| 7952 | pmem -- percents of total physical memory used by process's resident set | 7951 | pmem -- percents of total physical memory used by process's resident set |
| 7953 | (floating-point number) | 7952 | (floating-point number) |