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."
  (unless (listp states)
    (setq states (list states)))
  (ewoc-map
   (lambda (filearg)
     (when (memq (vc-dir-fileinfo->state filearg) states)
       (setf (vc-dir-fileinfo->marked filearg) t)
       t))
   vc-ewoc))