about summary refs log tree commit diff
path: root/emacs-elisp/packages/undotree.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-elisp/packages/undotree.el')
-rw-r--r--emacs-elisp/packages/undotree.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs-elisp/packages/undotree.el b/emacs-elisp/packages/undotree.el
new file mode 100644
index 0000000..02ec1df
--- /dev/null
+++ b/emacs-elisp/packages/undotree.el
@@ -0,0 +1,6 @@
+;; Undo-Tree replaces the normal undo with advanced Undo Control
+;;; https://gitlab.com/tsc25/undo-tree
+(use-package undo-tree)
+(global-undo-tree-mode 1)
+(setq undo-tree-history-directory-alist
+      `(("." . ,(concat user-emacs-directory "undo"))))