From: Glenn Morris Date: Sun, 30 Nov 2008 01:44:52 +0000 (+0000) Subject: (vc-hg-diff): No need to duplicate vc-switches logic. X-Git-Tag: emacs-pretest-23.0.90~1422 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0334426971911144fbd3b1b4ef750082883ca5dc;p=emacs.git (vc-hg-diff): No need to duplicate vc-switches logic. --- diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index aa11495441a..4c538d91ddd 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -276,7 +276,7 @@ If you want to force an empty list of arguments, use t." (expand-file-name default-directory)) "diff" (append - (vc-switches (if vc-hg-diff-switches 'hg) 'diff) + (vc-switches 'hg 'diff) (when oldvers (if newvers (list "-r" oldvers "-r" newvers)