(vc-mtn-command): Avoid localization of messages.

This commit is contained in:
Stefan Monnier 2008-04-03 02:22:55 +00:00
parent 5a3b79c471
commit ce4025c708
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
* vc-mtn.el (vc-mtn-command): Avoid localization of messages.
* vc-bzr.el (vc-bzr-checkout): Simplify.
* image-mode.el (image-mode-fit-frame): New command.

View file

@ -67,7 +67,10 @@
(defun vc-mtn-command (buffer okstatus files &rest flags)
"A wrapper around `vc-do-command' for use in vc-mtn.el."
(apply 'vc-do-command buffer okstatus vc-mtn-command files flags))
(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)))
(defun vc-mtn-state (file)
;; If `mtn' fails or returns status>0, or if the search files, just