Replace undo-tree with undo-fu + undo-fu-session
Despite the recent patches to fix undo history corruption, its history would still get unpredictably truncated due to non-linear memory expansion. Relevant to #2339
This commit is contained in:
parent
6bc0fcf714
commit
8ab0cd66a7
5 changed files with 33 additions and 49 deletions
|
@ -4,9 +4,7 @@
|
|||
:after-call pre-command-hook
|
||||
:config
|
||||
;; Prevent undo actions from exiting edit state
|
||||
(add-to-list 'objed-keeper-commands 'undo-tree-undo)
|
||||
(add-to-list 'objed-keeper-commands 'undo-tree-redo)
|
||||
(add-to-list 'objed-keeper-commands 'undo-tree-visualize)
|
||||
(pushnew! objed-keeper-commands 'undo-fu-only-undo 'undo-fu-only-redo)
|
||||
|
||||
(defvar +objed--extra-face-remaps nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue