Add auto-revert-remote-files and dired-auto-revert-buffer

This commit is contained in:
James Cherti
2025-06-28 11:49:48 -04:00
parent db5913aa40
commit a3f2162365
2 changed files with 7 additions and 1 deletions

View File

@@ -404,6 +404,13 @@
dired-recursive-copies 'always
dired-create-destination-dirs 'ask)
;; This is a higher-level predicate that wraps `dired-directory-changed-p'
;; with additional logic. This `dired-buffer-stale-p' predicate handles remote
;; files, wdired, unreadable dirs, and delegates to dired-directory-changed-p
;; for modification checks.
(defvar auto-revert-remote-files)
(setq dired-auto-revert-buffer 'dired-buffer-stale-p)
(setq dired-vc-rename-file t)
;; Disable the prompt about killing the Dired buffer for a deleted directory.