Mercurial > emacs
comparison man/files.texi @ 36547:4dff107cf2a1
(Reverting): Add an index entry "reread a file".
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 05 Mar 2001 15:32:20 +0000 |
parents | e06c9b1a0b04 |
children | 4906c8088ad5 |
comparison
equal
deleted
inserted
replaced
36546:0ff69e06c0b5 | 36547:4dff107cf2a1 |
---|---|
824 | 824 |
825 @node Reverting | 825 @node Reverting |
826 @section Reverting a Buffer | 826 @section Reverting a Buffer |
827 @findex revert-buffer | 827 @findex revert-buffer |
828 @cindex drastic changes | 828 @cindex drastic changes |
829 @cindex reread a file | |
829 | 830 |
830 If you have made extensive changes to a file and then change your mind | 831 If you have made extensive changes to a file and then change your mind |
831 about them, you can get rid of them by reading in the previous version | 832 about them, you can get rid of them by reading in the previous version |
832 of the file. To do this, use @kbd{M-x revert-buffer}, which operates on | 833 of the file. To do this, use @kbd{M-x revert-buffer}, which operates on |
833 the current buffer. Since reverting a buffer unintentionally could lose | 834 the current buffer. Since reverting a buffer unintentionally could lose |