aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-04-07 01:56:48 +0000
committerRichard M. Stallman2007-04-07 01:56:48 +0000
commit25e62ec37e1599ea035f382622da30687cee8e97 (patch)
tree5a63cf5b7367704c40833a693094fff7bc74802d
parentef74a943ea91041dedba149a61ddead6939eb04f (diff)
downloademacs-25e62ec37e1599ea035f382622da30687cee8e97.tar.gz
emacs-25e62ec37e1599ea035f382622da30687cee8e97.zip
Improve index entries.
(Modification Time): Get rid of term "obsolete buffer".
-rw-r--r--lispref/buffers.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index a0c2d1aa566..e9cafb69fb5 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -593,16 +593,17 @@ current buffer is used.
593 593
594@node Modification Time 594@node Modification Time
595@comment node-name, next, previous, up 595@comment node-name, next, previous, up
596@section Comparison of Modification Time 596@section Buffer Modification Time
597@cindex comparison of modification time 597@cindex comparing file modification time
598@cindex modification time, comparison of 598@cindex modification time of buffer
599 599
600 Suppose that you visit a file and make changes in its buffer, and 600 Suppose that you visit a file and make changes in its buffer, and
601meanwhile the file itself is changed on disk. At this point, saving the 601meanwhile the file itself is changed on disk. At this point, saving the
602buffer would overwrite the changes in the file. Occasionally this may 602buffer would overwrite the changes in the file. Occasionally this may
603be what you want, but usually it would lose valuable information. Emacs 603be what you want, but usually it would lose valuable information. Emacs
604therefore checks the file's modification time using the functions 604therefore checks the file's modification time using the functions
605described below before saving the file. 605described below before saving the file. (@xref{File Attributes},
606for how to examine a file's modification time.)
606 607
607@defun verify-visited-file-modtime buffer 608@defun verify-visited-file-modtime buffer
608This function compares what @var{buffer} has recorded for the 609This function compares what @var{buffer} has recorded for the
@@ -679,12 +680,11 @@ reason.
679@end defun 680@end defun
680 681
681@defun ask-user-about-supersession-threat filename 682@defun ask-user-about-supersession-threat filename
682@cindex obsolete buffer
683This function is used to ask a user how to proceed after an attempt to 683This function is used to ask a user how to proceed after an attempt to
684modify an obsolete buffer visiting file @var{filename}. An 684modify an buffer visiting file @var{filename} when the file is newer
685@dfn{obsolete buffer} is an unmodified buffer for which the associated 685than the buffer text. Emacs detects this because the modification
686file on disk is newer than the last save-time of the buffer. This means 686time of the file on disk is newer than the last save-time of the
687some other program has probably altered the file. 687buffer. This means some other program has probably altered the file.
688 688
689@kindex file-supersession 689@kindex file-supersession
690Depending on the user's answer, the function may return normally, in 690Depending on the user's answer, the function may return normally, in