mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
24 lines
618 B
EmacsLisp
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
|