aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLuc Teirlinck <[email protected]>2004-04-03 03:54:15 +0000
committerLuc Teirlinck <[email protected]>2004-04-03 03:54:15 +0000
commit6deaa218414d022c53d72a127cb5d1fa9fd9d046 (patch)
tree15008623ae8e8c31a843abb98676fd8d54ba8dfd /man
parentbcfa9925a6e20dcc00ad7a18cb5b577dba018aca (diff)
(Reverting): Correct description of revert-buffer's handling of point.
Diffstat (limited to 'man')
-rw-r--r--man/ChangeLog5
-rw-r--r--man/files.texi9
2 files changed, 9 insertions, 5 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 63277cb57f..1cfe38d705 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-02 Luc Teirlinck <[email protected]>
+
+ * files.texi (Reverting): Correct description of revert-buffer's
+ handling of point.
+
2004-03-22 Juri Linkov <[email protected]>
* emacs.texi (Top): Add `Misc X'.
diff --git a/man/files.texi b/man/files.texi
index a7f0661928..f73d1370eb 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -855,11 +855,10 @@ of the file. To do this, use @kbd{M-x revert-buffer}, which operates on
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.