all repos — nixfiles @ 0b60237ce8c9a51c5682b3ace2dd11324b7c65ab

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

emacs: auto-revert files changed via magit immediately
Alan Pearce alan@alanpearce.eu
Thu, 02 May 2024 07:46:20 +0200
commit

0b60237ce8c9a51c5682b3ace2dd11324b7c65ab

parent

8ba1b5833bd8cd1119e17b7821483d0867406b5b

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -950,6 +950,7 @@ (add-to-list 'project-switch-commands '(magit-project-status "Magit") t)))   :config (progn
             (setq magit-section-visibility-indicator nil
                   magit-diff-refine-hunk 'all
+                  magit-auto-revert-immediately t
                   magit-display-buffer-function #'magit-display-buffer-fullcolumn-most-v1)
             (remove-hook 'magit-status-sections-hook 'magit-insert-tags-header)
             (remove-hook 'magit-section-highlight-hook 'magit-section-highlight)