Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d4efdaea
Commit
d4efdaea
authored
Jan 16, 2010
by
Chong Yidong
Browse files
* vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
can parse the output of the external commands (Bug#5279).
parent
bbdc98ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-dispatcher.el
lisp/vc-dispatcher.el
+4
-1
No files found.
lisp/ChangeLog
View file @
d4efdaea
2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr>
* vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
can parse the output of the external commands (Bug#5279).
2010-01-16 Jari Aalto <jari.aalto@cante.net>
* pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
...
...
lisp/vc-dispatcher.el
View file @
d4efdaea
...
...
@@ -320,11 +320,14 @@ case, and the process object in the asynchronous case."
(
setq
squeezed
(
nconc
squeezed
files
)))
(
let
((
exec-path
(
append
vc-path
exec-path
))
;; Add vc-path to PATH for the execution of this command.
;; Also, since some functions need to parse the output
;; from external commands, set LC_MESSAGES to C.
(
process-environment
(
cons
(
concat
"PATH="
(
getenv
"PATH"
)
path-separator
(
mapconcat
'identity
vc-path
path-separator
))
process-environment
))
(
cons
"LC_MESSAGES=C"
process-environment
)))
(
w32-quote-process-args
t
))
(
if
(
eq
okstatus
'async
)
;; Run asynchronously.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment