diff options
author | Eric S. Raymond <esr@snark.thyrsus.com> | 2008-05-10 13:27:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@snark.thyrsus.com> | 2008-05-10 13:27:16 +0000 |
commit | 2888a97eb5437535f484f725d3d9606f1cbdbd8f (patch) | |
tree | efe43d9517aabfc09b5c70a8896175333eb13ab7 /lisp/vc-mtn.el | |
parent | b3fccc2715c53adc5f80eb003abcd27f215f4564 (diff) | |
download | emacs-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.el | 2 |
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 |