From d920b27aeaa1b55982773c1ceb72ba2d585d4249 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 6 Sep 2007 05:28:08 +0000 Subject: [PATCH] (vc-default-diff-tree): Pass a list to the diff vc command instead of a file. --- lisp/ChangeLog | 5 +++++ lisp/vc.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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." -- 2.39.5