aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorTom Tromey2013-07-12 18:44:13 -0600
committerTom Tromey2013-07-12 18:44:13 -0600
commitb34a529f177a6ea32da5cb1254f91bf9d71838db (patch)
tree477131abc15d3107b30b635223d87a22550b480b /doc/lispref
parente6f63071a3f7721f55220514b6d9a8ee8c1232d8 (diff)
parent5e301d7651c0691bb2bc7f3fbe711fdbe26ac471 (diff)
downloademacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.tar.gz
emacs-b34a529f177a6ea32da5cb1254f91bf9d71838db.zip
Merge from trunk
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/text.texi12
2 files changed, 13 insertions, 4 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index e4bc6eb5bcc..f8b7406c427 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Timestamp fixes for undo (Bug#14824).
4 * text.texi (Undo): Document (t . 0) and (t . -1) in buffer-undo-list.
5
12013-07-06 Eli Zaretskii <eliz@gnu.org> 62013-07-06 Eli Zaretskii <eliz@gnu.org>
2 7
3 * nonascii.texi (Text Representations): Document that 8 * nonascii.texi (Text Representations): Document that
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index c10458b39ae..7cace70ad07 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1250,14 +1250,18 @@ reinsert it is @code{(abs @var{position})}. If @var{position} is
1250positive, point was at the beginning of the deleted text, otherwise it 1250positive, point was at the beginning of the deleted text, otherwise it
1251was at the end. 1251was at the end.
1252 1252
1253@item (t @var{sec-high} @var{sec-low} @var{microsec} @var{picosec}) 1253@item (t . @var{time-flag})
1254This kind of element indicates that an unmodified buffer became 1254This kind of element indicates that an unmodified buffer became
1255modified. The list @code{(@var{sec-high} @var{sec-low} @var{microsec} 1255modified. A @var{time-flag} of the form
1256@code{(@var{sec-high} @var{sec-low} @var{microsec}
1256@var{picosec})} represents the visited file's modification time as of 1257@var{picosec})} represents the visited file's modification time as of
1257when it was previously visited or saved, using the same format as 1258when it was previously visited or saved, using the same format as
1258@code{current-time}; see @ref{Time of Day}. @code{primitive-undo} uses those 1259@code{current-time}; see @ref{Time of Day}.
1260A @var{time-flag} of 0 means the buffer does not correspond to any file;
1261@minus{}1 means the visited file previously did not exist.
1262@code{primitive-undo} uses these
1259values to determine whether to mark the buffer as unmodified once again; 1263values to determine whether to mark the buffer as unmodified once again;
1260it does so only if the file's modification time matches those numbers. 1264it does so only if the file's status matches that of @var{time-flag}.
1261 1265
1262@item (nil @var{property} @var{value} @var{beg} . @var{end}) 1266@item (nil @var{property} @var{value} @var{beg} . @var{end})
1263This kind of element records a change in a text property. 1267This kind of element records a change in a text property.