about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/init.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-04-24T12·02+0200
committerclbot <clbot@tvl.fyi>2022-04-24T12·05+0000
commit404d92356d9c41a19a29dacb771906a0f95dff96 (patch)
tree3d20d1384052a9d2ea8235e58a5605bf97cd0a30 /users/tazjin/emacs/config/init.el
parent36966736fa36ebc0746eb33e2419aadacc33cbbf (diff)
fix(tazjin/emacs): Stop undo-tree's new file barfing r/3990
undo-tree recently change dsome behaviour and started barfing "history
backup files" all over the place. These are really annoying and this
commit disables them completely.

Change-Id: I1c4ac0b12ba12d1f45c3f0516d16ba4f1f090700
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5504
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/init.el')
-rw-r--r--users/tazjin/emacs/config/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index 5f5519b4407b..a4160707303f 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -123,7 +123,11 @@
 
 (use-package telephone-line) ;; configuration happens outside of use-package
 (use-package term-switcher)
-(use-package undo-tree :config (global-undo-tree-mode))
+
+(use-package undo-tree
+  :config (global-undo-tree-mode)
+  :custom (undo-tree-auto-save-history nil))
+
 (use-package uuidgen)
 (use-package which-key :config (which-key-mode t))