]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-hg-diff): No need to duplicate vc-switches logic.
authorGlenn Morris <rgm@gnu.org>
Sun, 30 Nov 2008 01:44:52 +0000 (01:44 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 30 Nov 2008 01:44:52 +0000 (01:44 +0000)
lisp/vc-hg.el

index aa11495441afa9b6707296ee7ed15899046f486d..4c538d91ddd2cea2c0004cec62697050b199b7eb 100644 (file)
@@ -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)