diff options
| author | Paul Eggert | 2012-10-23 00:57:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-23 00:57:42 -0700 |
| commit | c4132fd4f0afc4329479cf071752a7e6fa3462f2 (patch) | |
| tree | eb704d6ece41984fe98ce1fb6e41264f68dcc044 /doc | |
| parent | 8740abe19ad7b713ff0986e089acd543cc5bb1cd (diff) | |
| download | emacs-c4132fd4f0afc4329479cf071752a7e6fa3462f2.tar.gz emacs-c4132fd4f0afc4329479cf071752a7e6fa3462f2.zip | |
Fix outdated timestamp documentation in Elisp manual.
* doc/lispref/files.texi (File Attributes):
* doc/lispref/text.texi (Undo):
Time stamp resolution is now 1 picosecond, not 1 second.
* etc/NEWS: Document increased precision in undo list.
Fixes: debbugs:12706
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 5 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 9 |
3 files changed, 14 insertions, 7 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 6bd0297252d..a767bbf1fce 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-10-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix outdated timestamp documentation in Elisp manual (bug#12706). | ||
| 4 | * files.texi (File Attributes): | ||
| 5 | * text.texi (Undo): | ||
| 6 | Time stamp resolution is now 1 picosecond, not 1 second. | ||
| 7 | |||
| 1 | 2012-10-23 Chong Yidong <cyd@gnu.org> | 8 | 2012-10-23 Chong Yidong <cyd@gnu.org> |
| 2 | 9 | ||
| 3 | * display.texi (Font Lookup): Remove font-list-limit. | 10 | * display.texi (Font Lookup): Remove font-list-limit. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 9424a661236..285e6406426 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1220,9 +1220,8 @@ point number. | |||
| 1220 | The file's @acronym{GID}, likewise. | 1220 | The file's @acronym{GID}, likewise. |
| 1221 | 1221 | ||
| 1222 | @item | 1222 | @item |
| 1223 | The time of last access, as a list of two integers. | 1223 | The time of last access, as a list of four integers @code{(@var{sec-high} |
| 1224 | The first integer has the high-order 16 bits of time, | 1224 | @var{sec-low} @var{microsec} @var{picosec})}. (This is similar to the |
| 1225 | the second has the low 16 bits. (This is similar to the | ||
| 1226 | value of @code{current-time}; see @ref{Time of Day}.) Note that on | 1225 | value of @code{current-time}; see @ref{Time of Day}.) Note that on |
| 1227 | some FAT-based filesystems, only the date of last access is recorded, | 1226 | some FAT-based filesystems, only the date of last access is recorded, |
| 1228 | so this time will always hold the midnight of the day of last access. | 1227 | so this time will always hold the midnight of the day of last access. |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index a5910ea921b..50b97cd4204 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -1233,11 +1233,12 @@ reinsert it is @code{(abs @var{position})}. If @var{position} is | |||
| 1233 | positive, point was at the beginning of the deleted text, otherwise it | 1233 | positive, point was at the beginning of the deleted text, otherwise it |
| 1234 | was at the end. | 1234 | was at the end. |
| 1235 | 1235 | ||
| 1236 | @item (t @var{high} . @var{low}) | 1236 | @item (t @var{sec-high} @var{sec-low} @var{microsec} @var{picosec}) |
| 1237 | This kind of element indicates that an unmodified buffer became | 1237 | This kind of element indicates that an unmodified buffer became |
| 1238 | modified. The elements @var{high} and @var{low} are two integers, each | 1238 | modified. The list @code{(@var{sec-high} @var{sec-low} @var{microsec} |
| 1239 | recording 16 bits of the visited file's modification time as of when it | 1239 | @var{picosec})} represents the visited file's modification time as of |
| 1240 | was previously visited or saved. @code{primitive-undo} uses those | 1240 | when it was previously visited or saved, using the same format as |
| 1241 | @code{current-time}; see @ref{Time of Day}. @code{primitive-undo} uses those | ||
| 1241 | values to determine whether to mark the buffer as unmodified once again; | 1242 | values to determine whether to mark the buffer as unmodified once again; |
| 1242 | it does so only if the file's modification time matches those numbers. | 1243 | it does so only if the file's modification time matches those numbers. |
| 1243 | 1244 | ||