summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-12-21 09:56:24 +0100
committerAlan Pearce2020-12-21 09:56:24 +0100
commit03b8061e5a717a3cc22436e5bfa436f6a06a455d (patch)
treed39963758a5fdb8107f8d8809580056e349d6aa0 /user
parentdc139bed82691bec4b3e0fc22efd0de9eab4cbe3 (diff)
downloadnixfiles-03b8061e5a717a3cc22436e5bfa436f6a06a455d.tar.lz
nixfiles-03b8061e5a717a3cc22436e5bfa436f6a06a455d.tar.zst
nixfiles-03b8061e5a717a3cc22436e5bfa436f6a06a455d.zip
Emacs: fix evil warnings about undo-system
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 442ca19d..288a3dc9 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -288,6 +288,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq-default evil-shift-width 2)
             (setq evil-mode-line-format nil
                   evil-undo-system 'undo-tree)
+            (evil-set-undo-system 'undo-tree)
             (add-to-list 'evil-emacs-state-modes 'eshell-mode)
             (add-to-list 'evil-emacs-state-modes 'ledger-reconcile-mode)
             (evil-mode +1))