diff options
| -rw-r--r-- | lispref/buffers.texi | 18 |
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 |
| 601 | meanwhile the file itself is changed on disk. At this point, saving the | 601 | meanwhile the file itself is changed on disk. At this point, saving the |
| 602 | buffer would overwrite the changes in the file. Occasionally this may | 602 | buffer would overwrite the changes in the file. Occasionally this may |
| 603 | be what you want, but usually it would lose valuable information. Emacs | 603 | be what you want, but usually it would lose valuable information. Emacs |
| 604 | therefore checks the file's modification time using the functions | 604 | therefore checks the file's modification time using the functions |
| 605 | described below before saving the file. | 605 | described below before saving the file. (@xref{File Attributes}, |
| 606 | for how to examine a file's modification time.) | ||
| 606 | 607 | ||
| 607 | @defun verify-visited-file-modtime buffer | 608 | @defun verify-visited-file-modtime buffer |
| 608 | This function compares what @var{buffer} has recorded for the | 609 | This 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 | ||
| 683 | This function is used to ask a user how to proceed after an attempt to | 683 | This function is used to ask a user how to proceed after an attempt to |
| 684 | modify an obsolete buffer visiting file @var{filename}. An | 684 | modify an buffer visiting file @var{filename} when the file is newer |
| 685 | @dfn{obsolete buffer} is an unmodified buffer for which the associated | 685 | than the buffer text. Emacs detects this because the modification |
| 686 | file on disk is newer than the last save-time of the buffer. This means | 686 | time of the file on disk is newer than the last save-time of the |
| 687 | some other program has probably altered the file. | 687 | buffer. This means some other program has probably altered the file. |
| 688 | 688 | ||
| 689 | @kindex file-supersession | 689 | @kindex file-supersession |
| 690 | Depending on the user's answer, the function may return normally, in | 690 | Depending on the user's answer, the function may return normally, in |