Explorar el Código

try to avoid the undo tree canary bug

Josh Bicking hace 6 años
padre
commit
8e1b16500e
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      emacs/.emacs.d/packages/packages.el

+ 7 - 6
emacs/.emacs.d/packages/packages.el

@@ -56,7 +56,14 @@
 
 (defvar evil-want-integration nil)
 
+(use-package undo-tree
+  :ensure t
+  :diminish undo-tree-mode
+  :init
+  (setq undo-tree-enable-undo-in-region nil))
+
 (use-package evil
+  :after undo-tree
   :ensure t
   :config
   (evil-mode t)
@@ -178,12 +185,6 @@
     ("a" evil-numbers/inc-at-pt "increment")
     ("x" evil-numbers/dec-at-pt "decrement")))
 
-(use-package undo-tree
-  :ensure t
-  :diminish undo-tree-mode
-  :init
-  (setq undo-tree-enable-undo-in-region nil))
-
 (use-package undohist
   :ensure t
   :config