summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-03-15 21:01:43 +0100
committerAlan Pearce2023-03-15 21:01:43 +0100
commitb8c921a8025e1d5aaca8a25881edcb400fba0d35 (patch)
tree40b32b12c7a4dcf4a7f1575a6f336c371ecd657a /user/emacs
parent430c9b662fc8da9dda332f52243c5909fff7cc5d (diff)
downloadnixfiles-b8c921a8025e1d5aaca8a25881edcb400fba0d35.tar.lz
nixfiles-b8c921a8025e1d5aaca8a25881edcb400fba0d35.tar.zst
nixfiles-b8c921a8025e1d5aaca8a25881edcb400fba0d35.zip
Emacs: disable magit-auto-revert-mode properly
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index fc41c282..702a60d6 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -503,7 +503,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :init (progn
           (setq magit-define-global-key-bindings t))
   :config (progn
-            (setq magit-auto-revert-mode nil magit-section-visibility-indicator nil
+            (magit-auto-revert-mode -1)
+            (setq magit-section-visibility-indicator nil
                   magit-diff-refine-hunk 'all
                   magit-display-buffer-function #'display-buffer
                   magit-completing-read-function #'ivy-completing-read)