summaryrefslogtreecommitdiff
path: root/lisp/vc-mtn.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2008-05-10 13:27:16 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2008-05-10 13:27:16 +0000
commit2888a97eb5437535f484f725d3d9606f1cbdbd8f (patch)
treeefe43d9517aabfc09b5c70a8896175333eb13ab7 /lisp/vc-mtn.el
parentb3fccc2715c53adc5f80eb003abcd27f215f4564 (diff)
downloademacs-2888a97eb5437535f484f725d3d9606f1cbdbd8f.tar.gz
Remove assumption about what nil means as a first arument to vc-do-command.
Diffstat (limited to 'lisp/vc-mtn.el')
-rw-r--r--lisp/vc-mtn.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el
index d4d1b1ff8e3..4a415bbf34a 100644
--- a/lisp/vc-mtn.el
+++ b/lisp/vc-mtn.el
@@ -70,7 +70,7 @@
(let ((process-environment
;; Avoid localization of messages so we can parse the output.
(cons "LC_MESSAGES=C" process-environment)))
- (apply 'vc-do-command buffer okstatus vc-mtn-command files flags)))
+ (apply 'vc-do-command (or buffer "*vc*") okstatus vc-mtn-command files flags)))
(defun vc-mtn-state (file)
;; If `mtn' fails or returns status>0, or if the search files, just