From 98af05c49a942d100ce8cdc5e521bf5f7d76b626 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 8 Jun 2016 14:36:35 -0400 Subject: [PATCH] Fix evil-want-fine-undo; fixed upstream as of evil v1.2.13 --- core/core-evil.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/core-evil.el b/core/core-evil.el index 4c52c596a..d9db6bb6d 100644 --- a/core/core-evil.el +++ b/core/core-evil.el @@ -11,6 +11,7 @@ evil-echo-state nil evil-ex-substitute-global t evil-insert-skip-empty-lines t + evil-want-fine-undo nil evil-normal-state-tag "N" evil-insert-state-tag "I" @@ -25,11 +26,7 @@ evil-normal-state-cursor 'box evil-emacs-state-cursor `(,(face-attribute 'shadow :foreground nil nil) box) evil-insert-state-cursor 'bar - evil-visual-state-cursor 'hollow - - ;; NOTE: a bug in emacs 25 breaks undoing in evil. See - ;; https://bitbucket.org/lyro/evil/issues/594/undo-doesnt-behave-like-vim - evil-want-fine-undo (if (> emacs-major-version 24) 'fine)) + evil-visual-state-cursor 'hollow) ;; highlight matching delimiters where it's important (defun show-paren-mode-off () (show-paren-mode -1))