From 39ba78efad9df5a46a40f7c28d943f2fe7ab12ae Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 30 Nov 2008 01:45:29 +0000 Subject: [PATCH] (vc-mtn-diff): No need to duplicate vc-switches logic. --- lisp/ChangeLog | 4 ++++ lisp/vc-mtn.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 12e27d97c88..15bf417b4ba 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2008-11-30 Glenn Morris + * vc-git.el (vc-git-diff): + * vc-hg.el (vc-hg-diff): + * vc-mtn.el (vc-mtn-diff): No need to duplicate vc-switches logic. + * eshell/esh-proc.el (eshell-needs-pipe): New variable. (eshell-needs-pipe-p): New function. (eshell-gather-process-output): Set process-connection-type according to diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index f5fffb7fc87..e4d7535ff6a 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el @@ -205,7 +205,7 @@ If you want to force an empty list of arguments, use t." "Get a difference report using monotone between two revisions of FILES." (apply 'vc-mtn-command (or buffer "*vc-diff*") 1 files "diff" (append - (vc-switches (if vc-mtn-diff-switches 'mtn) 'diff) + (vc-switches 'mtn 'diff) (if rev1 (list "-r" rev1)) (if rev2 (list "-r" rev2))))) (defun vc-mtn-annotate-command (file buf &optional rev) -- 2.39.2