Function: vc-dir-mark-state-files
vc-dir-mark-state-files is a byte-compiled function defined in
vc-dir.el.gz.
Signature
(vc-dir-mark-state-files STATES)
Documentation
Mark files that are in the state specified by the list in STATES.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
(defun vc-dir-mark-state-files (states)
"Mark files that are in the state specified by the list in STATES."
(setq states (ensure-list states))
(ewoc-map
(lambda (filearg)
(when (memq (vc-dir-fileinfo->state filearg) states)
(setf (vc-dir-fileinfo->marked filearg) t)
t))
vc-ewoc))