comparison lisp/vc.el @ 7016:af3a2472ad48

(vc-backend-diff): Test of cmp was backwards.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Apr 1994 04:31:27 +0000
parents 3a0db3b2366c
children 4fd40bd394fe
comparison
equal deleted inserted replaced
7015:41b90d7dd228 7016:af3a2472ad48
1649 diff-switches 1649 diff-switches
1650 (list diff-switches))))) 1650 (list diff-switches)))))
1651 (status (apply 'vc-do-command 2 command file options))) 1651 (status (apply 'vc-do-command 2 command file options)))
1652 ;; Some RCS versions don't understand "--brief"; work around this. 1652 ;; Some RCS versions don't understand "--brief"; work around this.
1653 (if (eq status 2) 1653 (if (eq status 2)
1654 (apply 'vc-do-command 1 command file (if cmp options (cdr options))) 1654 (apply 'vc-do-command 1 command file (if cmp (cdr options) options))
1655 status))) 1655 status)))
1656 1656
1657 (defun vc-check-headers () 1657 (defun vc-check-headers ()
1658 "Check if the current file has any headers in it." 1658 "Check if the current file has any headers in it."
1659 (interactive) 1659 (interactive)