all repos — nixfiles @ b8c921a8025e1d5aaca8a25881edcb400fba0d35

System and user configuration, managed by nix and home-manager

Emacs: disable magit-auto-revert-mode properly
Alan Pearce alan@alanpearce.eu
Wed, 15 Mar 2023 21:01:43 +0100
commit

b8c921a8025e1d5aaca8a25881edcb400fba0d35

parent

430c9b662fc8da9dda332f52243c5909fff7cc5d

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -503,7 +503,8 @@ :commands (magit-status magit-dispatch)   :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)