Local History is a feature in IntelliJ and Eclipse, which for every file keeps a history of its changes:

It is not a replacement for revision control systems like Git, but I found it useful when experimenting with code.

Is there a way in Emacs to allow browsing through changes in one file and being able to select one version and revert to it?


I think undo-tree looks like the closest match to these features. Although, it's hardly a one-to-one match.

It is possible to navigate between changes more readily by visualizing the 'tree' of changes using C-xu. It is then possible to navigate to the various changes.

There are no similar 'diffing' or 'timestamping' features available as far as I know.


That is the plugin you are searching Emacs-localhistory

  • Please explain your answer more to make it self-contained. We prefer not to have link-only answers. – Dan Jun 18 '18 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.