undo-fu-session

Homepage: https://codeberg.org/ideasman42/emacs-undo-fu-session

Author: Campbell Barton

Updated:

Summary

Persistent undo, available between sessions

Commentary

This extension provides a way to use undo steps of
individual file buffers persistently.


Usage


Write the following code to your .emacs file:

  (require 'undo-fu-session)
  (undo-fu-session-global-mode)

Or with `use-package':

  (use-package undo-fu-session)
  (undo-fu-session-global-mode)

If you prefer to enable this per-mode, you may do so using
mode hooks instead of calling `undo-fu-session-global-mode'.
The following example enables this for org-mode:

  (add-hook 'org-mode-hook (lambda () (undo-fu-session-mode))

Dependencies