summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2024-09-18 10:28:53 +0800
committernoa2024-09-18 10:28:53 +0800
commit373fcf91e3925d713f2f45b0b8f6204053ca05a4 (patch)
tree5f48a4caf1d427ccd95a43d938e391fed7d6c912
parentad60db63cadb76b5575d7c2856473fea36640f1e (diff)
Auto revert dired and other buffers as well as files
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e3198df..4e09545 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -420,6 +420,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 
 ;; Automatically revert buffers when they change on disk.  This doesn't apply to tramp.
 (setopt global-auto-revert-mode t)
+(setopt global-auto-revert-non-file-buffers t)
 
 ;; This behaviour changes how we visit symlinks.
 (setopt find-file-visit-truename t)