diff options
| author | Luc Teirlinck | 2004-04-03 03:54:15 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-04-03 03:54:15 +0000 |
| commit | 6deaa218414d022c53d72a127cb5d1fa9fd9d046 (patch) | |
| tree | 15008623ae8e8c31a843abb98676fd8d54ba8dfd | |
| parent | bcfa9925a6e20dcc00ad7a18cb5b577dba018aca (diff) | |
| download | emacs-6deaa218414d022c53d72a127cb5d1fa9fd9d046.tar.gz emacs-6deaa218414d022c53d72a127cb5d1fa9fd9d046.zip | |
(Reverting): Correct description of revert-buffer's handling of point.
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/files.texi | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 63277cb57f7..1cfe38d705c 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-04-02 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * files.texi (Reverting): Correct description of revert-buffer's | ||
| 4 | handling of point. | ||
| 5 | |||
| 1 | 2004-03-22 Juri Linkov <juri@jurta.org> | 6 | 2004-03-22 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * emacs.texi (Top): Add `Misc X'. | 8 | * emacs.texi (Top): Add `Misc X'. |
diff --git a/man/files.texi b/man/files.texi index a7f06619288..f73d1370eba 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 | |||
| 855 | the current buffer. Since reverting a buffer unintentionally could lose | 855 | the current buffer. Since reverting a buffer unintentionally could lose |
| 856 | a lot of work, you must confirm this command with @kbd{yes}. | 856 | a lot of work, you must confirm this command with @kbd{yes}. |
| 857 | 857 | ||
| 858 | @code{revert-buffer} keeps point at the same distance (measured in | 858 | @code{revert-buffer} tries to position point in such a way that, if |
| 859 | characters) from the beginning of the file. If the file was edited only | 859 | the file was edited only slightly, you will be at approximately the |
| 860 | slightly, you will be at approximately the same piece of text after | 860 | same piece of text after reverting as before. However, if you have made |
| 861 | reverting as before. If you have made drastic changes, the same value of | 861 | drastic changes, point may wind up in a totally different piece of text. |
| 862 | point in the old file may address a totally different piece of text. | ||
| 863 | 862 | ||
| 864 | Reverting marks the buffer as ``not modified'' until another change is | 863 | Reverting marks the buffer as ``not modified'' until another change is |
| 865 | made. | 864 | made. |