Function: vc-compatible-state

vc-compatible-state is a byte-compiled function defined in vc.el.gz.

Signature

(vc-compatible-state P Q)

Documentation

Control which states can be in the same commit.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc-compatible-state (p q)
  "Control which states can be in the same commit."
  (or
   (eq p q)
   (and (member p '(edited added removed)) (member q '(edited added removed)))))