summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2022-06-18 03:42:58 +0200
committerAlan Pearce2022-06-18 03:42:58 +0200
commit683cbf72529772ddd416aa0853abc720fbf43dfb (patch)
tree1e79f5af96a02ef545ccaf21027e9e3b490f7a08 /user/emacs
parentc755579395a47d25e747ab361d23c760b5079815 (diff)
downloadnixfiles-683cbf72529772ddd416aa0853abc720fbf43dfb.tar.lz
nixfiles-683cbf72529772ddd416aa0853abc720fbf43dfb.tar.zst
nixfiles-683cbf72529772ddd416aa0853abc720fbf43dfb.zip
Emacs: stop undo-tree littering
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 80994fef..21dc2499 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -697,7 +697,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 (use-package undo-tree
   :defer 1
-  :config (global-undo-tree-mode))
+  :config (progn
+            (setq undo-tree-auto-save-history nil)
+            (global-undo-tree-mode)))
 
 ;;; Major modes