Function: vc-rcs-diff

vc-rcs-diff is a byte-compiled function defined in vc-rcs.el.gz.

Signature

(vc-rcs-diff FILES &optional OLDVERS NEWVERS BUFFER ASYNC)

Documentation

Get a difference report using RCS between two sets of files.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-rcs.el.gz
(defun vc-rcs-diff (files &optional oldvers newvers buffer _async)
  "Get a difference report using RCS between two sets of files."
  (apply #'vc-do-command (or buffer "*vc-diff*")
	 ;; The repo is local, so this is fast anyway.
	 1 ; bug#21969
	 "rcsdiff" (vc-expand-dirs files 'RCS)
         (append (list "-q"
                       (and oldvers (concat "-r" oldvers))
                       (and newvers (concat "-r" newvers)))
                 (vc-switches 'RCS 'diff))))