summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-03-24 07:18:51 +0100
committerAlan Pearce2023-03-24 07:18:51 +0100
commita13dc11cb284f0cb31a908eb639b1194b4697714 (patch)
tree9383231e9cc1f8d1cb1502d6bd445a6697051003 /user/emacs
parentd07f5616109d0df87999cc526c858beb94e03fbd (diff)
downloadnixfiles-a13dc11cb284f0cb31a908eb639b1194b4697714.tar.lz
nixfiles-a13dc11cb284f0cb31a908eb639b1194b4697714.tar.zst
nixfiles-a13dc11cb284f0cb31a908eb639b1194b4697714.zip
emacs: unset magit-auto-revert-mode correctly
I have no idea why this is necessary
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 340c44b7..c57da062 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -493,10 +493,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package magit
   :defer 5
   :commands (magit-status magit-dispatch)
+  :custom (magit-auto-revert-mode nil)
   :init (progn
           (setq magit-define-global-key-bindings t))
   :config (progn
-            (magit-auto-revert-mode -1)
             (setq magit-section-visibility-indicator nil
                   magit-diff-refine-hunk 'all
                   magit-display-buffer-function #'display-buffer)