From: Dan Nicolaescu Date: Thu, 6 Sep 2007 05:28:08 +0000 (+0000) Subject: (vc-default-diff-tree): Pass a list to the diff vc command X-Git-Tag: emacs-pretest-23.0.90~11070 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d920b27aeaa1b55982773c1ceb72ba2d585d4249;p=emacs.git (vc-default-diff-tree): Pass a list to the diff vc command instead of a file. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cab0ac69181..c773cd8bf59 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-09-06 Dan Nicolaescu + + * vc.el (vc-default-diff-tree): Pass a list to the diff vc command + instead of a file. + 2007-09-06 Glenn Morris * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New. diff --git a/lisp/vc.el b/lisp/vc.el index f04bdcc475c..222825b054f 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1990,7 +1990,7 @@ The meaning of REV1 and REV2 is the same as for `vc-version-diff'." `(let ((coding-system-for-read (vc-coding-system-for-diff ',f))) (message "Looking at %s" ',f) (vc-call-backend ',(vc-backend f) - 'diff ',f ',rev1 ',rev2)))))) + 'diff (list ',f) ',rev1 ',rev2)))))) (defun vc-coding-system-for-diff (file) "Return the coding system for reading diff output for FILE."