From 31315911b269ef210126ba6030faad8c1485d276 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Sun, 2 Aug 2015 12:27:23 -0500 Subject: [PATCH] Fix undo-tree stuff with recent emacs. --- emacs/.emacs.d/emacs.org | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/emacs/.emacs.d/emacs.org b/emacs/.emacs.d/emacs.org index b3d9fd6..92b42f2 100644 --- a/emacs/.emacs.d/emacs.org +++ b/emacs/.emacs.d/emacs.org @@ -1005,14 +1005,14 @@ Make undo more useful, and treelike. (use-package undo-tree :ensure t :init - (progn ( - (global-undo-tree-mode) - (defadvice undo-tree-visualize (around undo-tree-split-side-by-side activate) - "Split undo-tree side-by-side" - (let ((split-height-threshold nil) - (split-width-threshold 0)) - ad-do-it)) - ) + (progn (global-undo-tree-mode)) + :config + (progn (defadvice undo-tree-visualize (around undo-tree-split-side-by-side activate) + "Split undo-tree side-by-side" + (let ((split-height-threshold nil) + (split-width-threshold 0)) + ad-do-it) + ) ) :bind ("C-x u" . undo-tree-visualize)