summaryrefslogtreecommitdiff
path: root/evil-collection-integration.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2017-12-28 21:00:12 -0800
committerJames N <james@jojojames.com>2018-01-09 18:53:12 -0800
commit95f1da485b42443a098988210d43fe1cc56d1cfe (patch)
treebb9bd412b3ebfaad033bb304dc98c38b4ca82061 /evil-collection-integration.el
parent0c990bc639d14a9194440e4040b0fd8457752ba3 (diff)
Integration: Change namespace for evil-turn-on-undo-tree-mode
Diffstat (limited to 'evil-collection-integration.el')
-rw-r--r--evil-collection-integration.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-collection-integration.el b/evil-collection-integration.el
index a7e9e8f..ef742ff 100644
--- a/evil-collection-integration.el
+++ b/evil-collection-integration.el
@@ -200,7 +200,7 @@
(eval-after-load 'undo-tree
'(with-no-warnings
- (defun evil-turn-on-undo-tree-mode ()
+ (defun evil-collection-integration-turn-on-undo-tree-mode ()
"Enable `undo-tree-mode' if evil is enabled.
This function enables `undo-tree-mode' when Evil is activated in
some buffer, but only if `global-undo-tree-mode' is also
@@ -209,7 +209,7 @@ activated."
global-undo-tree-mode)
(turn-on-undo-tree-mode)))
- (add-hook 'evil-local-mode-hook #'evil-turn-on-undo-tree-mode)
+ (add-hook 'evil-local-mode-hook #'evil-collection-integration-turn-on-undo-tree-mode)
(defadvice undo-tree-visualize (after evil activate)
"Initialize Evil in the visualization buffer."