diff options
| author | Mauro Aranda | 2018-10-18 11:28:18 -0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-10-19 11:56:34 +0300 |
| commit | f632ecbb998ccec6442cbf1e6d76a2d63af3e9e2 (patch) | |
| tree | c5dd77414d66eb8d31f0c2958a9845b4bbd5a92c | |
| parent | eb6768977effe5994b6fe3afcfa262465ba631ab (diff) | |
| download | emacs-f632ecbb998ccec6442cbf1e6d76a2d63af3e9e2.tar.gz emacs-f632ecbb998ccec6442cbf1e6d76a2d63af3e9e2.zip | |
Update revert-buffer documentation
* doc/emacs/files.texi (Reverting): Document that revert-buffer
does keep undo history. (Bug#33084)
Copyright-paperwork-exempt: yes
| -rw-r--r-- | doc/emacs/files.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index e950767c384..c1d25af35c9 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -926,10 +926,10 @@ way that, if the file was edited only slightly, you will be at | |||
| 926 | approximately the same part of the text as before. But if you have | 926 | approximately the same part of the text as before. But if you have |
| 927 | made major changes, point may end up in a totally different location. | 927 | made major changes, point may end up in a totally different location. |
| 928 | 928 | ||
| 929 | Reverting marks the buffer as not modified. It also clears the | 929 | Reverting marks the buffer as not modified. However, it adds the |
| 930 | buffer's undo history (@pxref{Undo}). Thus, the reversion cannot be | 930 | reverted changes as a single modification to the buffer's undo |
| 931 | undone---if you change your mind yet again, you can't use the undo | 931 | history (@pxref{Undo}). Thus, after reverting, you can do @kbd{C-/} |
| 932 | commands to bring the reverted changes back. | 932 | to bring the reverted changes back, if you happen to change your mind. |
| 933 | 933 | ||
| 934 | Some kinds of buffers that are not associated with files, such as | 934 | Some kinds of buffers that are not associated with files, such as |
| 935 | Dired buffers, can also be reverted. For them, reverting means | 935 | Dired buffers, can also be reverted. For them, reverting means |