undo-tree-enable-undo-in-region = nil
Try to save off the elusive and annoying "unrecognized entry in undo list undo-tree-canary" error produced by undo-tree.
This commit is contained in:
parent
f0f2c92b8d
commit
2e25989dc5
2 changed files with 4 additions and 6 deletions
|
@ -183,9 +183,11 @@ fundamental-mode) for performance sake."
|
|||
(def-package! undo-tree
|
||||
:after-call (doom-exit-buffer-hook after-find-file)
|
||||
:config
|
||||
;; persistent undo history is known to cause undo history corruption, which
|
||||
;; can be very destructive! So disable it!
|
||||
;; persistent undo history and undo-in-region is known to cause undo history
|
||||
;; corruption, which can be very destructive! Disabling it deters the error,
|
||||
;; but does not fix it entirely!
|
||||
(setq undo-tree-auto-save-history nil
|
||||
undo-tree-enable-undo-in-region nil
|
||||
undo-tree-history-directory-alist
|
||||
(list (cons "." (concat doom-cache-dir "undo-tree-hist/"))))
|
||||
(global-undo-tree-mode +1))
|
||||
|
|
|
@ -425,10 +425,6 @@
|
|||
(:map swiper-map
|
||||
[backtab] #'+ivy/wgrep-occur))
|
||||
|
||||
;; undo-tree -- undo/redo for visual regions
|
||||
:v "C-u" #'undo-tree-undo
|
||||
:v "C-r" #'undo-tree-redo
|
||||
|
||||
;; yasnippet
|
||||
(:after yasnippet
|
||||
(:map yas-keymap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue