Files
.emacs.d/modules/editor/siren-undo-fu-session.el
Jim Myhrberg 177f075853 feat(editor): replace undo-tree with undo-fu and vundo
Also replace undohist with undo-fu-session.

Overall this seems to yield a more reliable undo history, as undo-fu and
vundo supposedly operate with vanilla emacs undo history state, while
undo-tree supposedly does some custom tweaks to the undo state.
2022-04-26 23:39:48 +01:00

24 lines
618 B
EmacsLisp

;;; siren-undo-fu-session.el --- jimeh's Emacs Siren: undo-fu-session configuration.
;;; Commentary:
;; Basic configuration for undo-fu-session.
;;; Code:
(use-package undo-fu-session
:demand
:custom
(undo-fu-session-directory (siren-cache-dir "undo-fu-session"))
(undo-fu-session-linear nil)
(undo-fu-session-compression 'gz)
(undo-fu-session-file-limit nil)
(undo-fu-session-incompatible-files '("/COMMIT_EDITMSG\\'"
"/git-rebase-todo\\'"))
:config
(global-undo-fu-session-mode))
(provide 'siren-undo-fu-session)
;;; siren-undo-fu-session.el ends here