summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2020-11-26 11:00:27 +0100
committerAlan Pearce2020-11-26 11:00:27 +0100
commitd3f2a30a9fbbb64dc251d45d3f7480bd00b4ca88 (patch)
tree44dbd56c9a39e5fe9d54c630576b7b83dd5acfb0 /user/emacs
parentcfc78b6548f97733f156c8b02243f7346930d10d (diff)
downloadnixfiles-d3f2a30a9fbbb64dc251d45d3f7480bd00b4ca88.tar.lz
nixfiles-d3f2a30a9fbbb64dc251d45d3f7480bd00b4ca88.tar.zst
nixfiles-d3f2a30a9fbbb64dc251d45d3f7480bd00b4ca88.zip
Emacs: fix undo
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 4b0cdcd2..371be8e7 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -683,6 +683,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package ws-butler
   :ghook ('prog-mode-hook))
 
+(use-package undo-tree
+  :defer 1
+  :config (global-undo-tree-mode))
+
 ;;; Major modes
 
 ;;;; golang