From f09fa909d6c383d00f3a155d847a7a8b9095b8ed Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 10 May 2015 04:41:08 -0400 Subject: [PATCH] Hush now, quiet now, undo-tree error messages --- core/core-evil.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/core-evil.el b/core/core-evil.el index 39e6d673c..29cfc826d 100644 --- a/core/core-evil.el +++ b/core/core-evil.el @@ -128,7 +128,13 @@ (defadvice evil-window-split (after evil-window-split-jump activate) (evil-window-down 1)) (defadvice evil-window-vsplit (after evil-window-vsplit-jump activate) - (evil-window-right 1))) + (evil-window-right 1)) + + ;; Shut up undo-tree's constant complaining + (defadvice undo-tree-load-history-hook (around undo-tree-load-history-shut-up activate) + (shut-up ad-do-it)) + (defadvice undo-tree-save-history-hook (around undo-tree-save-history-shut-up activate) + (shut-up ad-do-it)))) (progn ; extensions (defun evil-visual-line-state-p ()