Function: vc-src-command

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

Signature

(vc-src-command BUFFER FILE-OR-LIST &rest FLAGS)

Documentation

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

This function differs from vc-do-command in that it invokes vc-src-program.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-src.el.gz
(defun vc-src-command (buffer file-or-list &rest flags)
  "A wrapper around `vc-do-command' for use in vc-src.el.
This function differs from `vc-do-command' in that it invokes `vc-src-program'."
  (let (file-list)
    (cond ((stringp file-or-list)
	   (setq file-list (list "--" file-or-list)))
	  (file-or-list
	   (setq file-list (cons "--" file-or-list))))
    (apply #'vc-do-command (or buffer "*vc*") 0 vc-src-program file-list flags)))