From d3114467f540743fe1e30f6daea3a9e51bb7c4c7 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 25 Oct 2017 20:18:33 -0700 Subject: [PATCH] [Emacs] Increase undo-limit and use undo-tree --- dotfiles/emacs.d/README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index a0b56ba5..e37a36f5 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -4176,7 +4176,6 @@ I had to disable this mode because something that it does messes with coding set ** undo-tree #+BEGIN_SRC emacs-lisp (use-package undo-tree - :disabled t ;; this has been getting pretty annoying :bind (("C--" . undo-redo) ("C-c u" . undo-tree-visualize) ("C-c r" . undo-tree-redo)) @@ -4185,6 +4184,8 @@ I had to disable this mode because something that it does messes with coding set :init (progn ;;(setq undo-tree-visualizer-diff t) ;; This causes performance problems + (setq undo-limit (expt 2 25) + undo-strong-limit (expt 2 25)) (global-undo-tree-mode) (setq undo-tree-visualizer-timestamps t))) #+END_SRC