summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2024-05-02 07:46:20 +0200
committerAlan Pearce2024-05-02 07:49:56 +0200
commit0b60237ce8c9a51c5682b3ace2dd11324b7c65ab (patch)
treeb517b06631dc56cd0797a15e346ef24652ad3f1a /user/emacs
parent8ba1b5833bd8cd1119e17b7821483d0867406b5b (diff)
downloadnixfiles-0b60237ce8c9a51c5682b3ace2dd11324b7c65ab.tar.lz
nixfiles-0b60237ce8c9a51c5682b3ace2dd11324b7c65ab.tar.zst
nixfiles-0b60237ce8c9a51c5682b3ace2dd11324b7c65ab.zip
emacs: auto-revert files changed via magit immediately
Diffstat (limited to 'user/emacs')
-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 7ca9cd2c..bc7745a3 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -950,6 +950,7 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
   :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)