aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2012-10-23 00:57:42 -0700
committerPaul Eggert2012-10-23 00:57:42 -0700
commitc4132fd4f0afc4329479cf071752a7e6fa3462f2 (patch)
treeeb704d6ece41984fe98ce1fb6e41264f68dcc044 /doc
parent8740abe19ad7b713ff0986e089acd543cc5bb1cd (diff)
downloademacs-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/ChangeLog7
-rw-r--r--doc/lispref/files.texi5
-rw-r--r--doc/lispref/text.texi9
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 @@
12012-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
12012-10-23 Chong Yidong <cyd@gnu.org> 82012-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.
1220The file's @acronym{GID}, likewise. 1220The file's @acronym{GID}, likewise.
1221 1221
1222@item 1222@item
1223The time of last access, as a list of two integers. 1223The time of last access, as a list of four integers @code{(@var{sec-high}
1224The first integer has the high-order 16 bits of time, 1224@var{sec-low} @var{microsec} @var{picosec})}. (This is similar to the
1225the second has the low 16 bits. (This is similar to the
1226value of @code{current-time}; see @ref{Time of Day}.) Note that on 1225value of @code{current-time}; see @ref{Time of Day}.) Note that on
1227some FAT-based filesystems, only the date of last access is recorded, 1226some FAT-based filesystems, only the date of last access is recorded,
1228so this time will always hold the midnight of the day of last access. 1227so 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
1233positive, point was at the beginning of the deleted text, otherwise it 1233positive, point was at the beginning of the deleted text, otherwise it
1234was at the end. 1234was 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})
1237This kind of element indicates that an unmodified buffer became 1237This kind of element indicates that an unmodified buffer became
1238modified. The elements @var{high} and @var{low} are two integers, each 1238modified. The list @code{(@var{sec-high} @var{sec-low} @var{microsec}
1239recording 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
1240was previously visited or saved. @code{primitive-undo} uses those 1240when 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
1241values to determine whether to mark the buffer as unmodified once again; 1242values to determine whether to mark the buffer as unmodified once again;
1242it does so only if the file's modification time matches those numbers. 1243it does so only if the file's modification time matches those numbers.
1243 1244