Change undo-tree deferral to before switch buffer

This commit is contained in:
Henrik Lissner
2018-05-15 23:14:54 +02:00
parent 9aa346f185
commit 1e004a5638

View File

@ -151,7 +151,7 @@ fundamental-mode) for performance sake."
;; Branching undo
(def-package! undo-tree
:defer doom-after-switch-buffer-hook
:defer doom-before-switch-buffer-hook
:config
;; persistent undo history is known to cause undo history corruption, which
;; can be very destructive! So disable it!