Function: vc-cvs-command

vc-cvs-command is a byte-compiled function defined in vc-cvs.el.gz.

Signature

(vc-cvs-command BUFFER OKSTATUS FILES &rest FLAGS)

Documentation

A wrapper around vc-do-command for use in vc-cvs.el.

The difference to vc-do-command is that this function always invokes cvs, and that it passes vc-cvs-global-switches to it before FLAGS.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-cvs.el.gz
;;;
;;; Internal functions
;;;

(defun vc-cvs-command (buffer okstatus files &rest flags)
  "A wrapper around `vc-do-command' for use in vc-cvs.el.
The difference to vc-do-command is that this function always invokes `cvs',
and that it passes `vc-cvs-global-switches' to it before FLAGS."
  (apply #'vc-do-command (or buffer "*vc*") okstatus "cvs" files
         (if (stringp vc-cvs-global-switches)
             (cons vc-cvs-global-switches flags)
           (append vc-cvs-global-switches
                   flags))))