Variable: vc-dir-auto-hide-up-to-date
vc-dir-auto-hide-up-to-date is a customizable variable defined in
vc-dir.el.gz.
Value
nil
Documentation
Whether VC-Dir auto-removes \+up-to-date/\+ignored files from display.
If the value is nil, files shown in the VC-Dir buffer will remain on
display if they become \+up-to-date or \+ignored.
If the value is t, files are automatically removed from display when
they become \+up-to-date or \+ignored.
If the value is the symbol revert, any displayed files that
are \+up-to-date or \+ignored are removed from display
by M-x revert-buffer (revert-buffer), but they are not automatically removed
when they become \+up-to-date or \+ignored. That is,
refreshing the VC-Dir buffer hides \+up-to-date and \+ignored
files when the value is the symbol revert.
Any other value is treated as t.
VC-Dir never shows \+up-to-date and \+ignored files when the
directory is first displayed.
You can still use vc-dir-show-fileentry to manually add an entry for
an \+up-to-date or \+ignored file.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defcustom vc-dir-auto-hide-up-to-date nil
"Whether VC-Dir auto-removes \\+`up-to-date'/\\+`ignored' files from display.
If the value is nil, files shown in the VC-Dir buffer will remain on
display if they become \\+`up-to-date' or \\+`ignored'.
If the value is t, files are automatically removed from display when
they become \\+`up-to-date' or \\+`ignored'.
If the value is the symbol `revert', any displayed files that
are \\+`up-to-date' or \\+`ignored' are removed from display
by \\<vc-dir-mode-map>\\[revert-buffer], but they are not automatically removed
when they become \\+`up-to-date' or \\+`ignored'. That is,
refreshing the VC-Dir buffer hides \\+`up-to-date' and \\+`ignored'
files when the value is the symbol `revert'.
Any other value is treated as t.
VC-Dir never shows \\+`up-to-date' and \\+`ignored' files when the
directory is first displayed.
You can still use `vc-dir-show-fileentry' to manually add an entry for
an \\+`up-to-date' or \\+`ignored' file."
:type 'boolean
:group 'vc
:version "31.1")