summaryrefslogtreecommitdiff
path: root/lisp/vc-hg.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-11-30 01:44:52 +0000
committerGlenn Morris <rgm@gnu.org>2008-11-30 01:44:52 +0000
commit0334426971911144fbd3b1b4ef750082883ca5dc (patch)
treec936051f0eb1171e2ab69fd6ecafde7ae5ec4645 /lisp/vc-hg.el
parent68159bc533ea545002760c281ecbb50c5e16f0d3 (diff)
downloademacs-0334426971911144fbd3b1b4ef750082883ca5dc.tar.gz
emacs-0334426971911144fbd3b1b4ef750082883ca5dc.tar.bz2
emacs-0334426971911144fbd3b1b4ef750082883ca5dc.zip
(vc-hg-diff): No need to duplicate vc-switches logic.
Diffstat (limited to 'lisp/vc-hg.el')
-rw-r--r--lisp/vc-hg.el2
1 files changed, 1 insertions, 1 deletions
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)