2018-10-18 12:11 GMT-03:00, Mauro Aranda : > Hello. > > Regarding the Emacs manual, I think the following paragraph in the > "Reverting a Buffer" section is outdated: > "Reverting marks the buffer as not modified. It also clears the buffer's > undo > history (see Undo). Thus, the reversion cannot be undoneā€”if you change your > mind yet again, you can't use the undo commands to bring the reverted > changes > back." > > I think that was the previous behavior of revert-buffer, but it was changed > a while ago, so now it is possible to do M-x revert-buffer RET yes RET > and then do > C-/ to bring the reverted changes back. > > I propose the attached patch. Please let me know what you think.