Mercurial > emacs
changeset 54683:9ded73128160
(Reverting): Correct description of revert-buffer's handling of point.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 03 Apr 2004 03:53:28 +0000 |
parents | bd0296e87c16 |
children | 64bd6e31f770 |
files | man/files.texi |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/man/files.texi Fri Apr 02 17:29:52 2004 +0000 +++ b/man/files.texi Sat Apr 03 03:53:28 2004 +0000 @@ -855,11 +855,10 @@ the current buffer. Since reverting a buffer unintentionally could lose a lot of work, you must confirm this command with @kbd{yes}. - @code{revert-buffer} keeps point at the same distance (measured in -characters) from the beginning of the file. If the file was edited only -slightly, you will be at approximately the same piece of text after -reverting as before. If you have made drastic changes, the same value of -point in the old file may address a totally different piece of text. + @code{revert-buffer} tries to position point in such a way that, if +the file was edited only slightly, you will be at approximately the +same piece of text after reverting as before. However, if you have made +drastic changes, point may wind up in a totally different piece of text. Reverting marks the buffer as ``not modified'' until another change is made.