emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99692: * vc-hooks.el (vc-path):


From: Juanma Barranquero
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99692: * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
Date: Fri, 19 Mar 2010 13:10:06 +0100

On Fri, Mar 19, 2010 at 10:42, Dan Nicolaescu <address@hidden> wrote:

> ------------------------------------------------------------
> revno: 99692
> committer: Dan Nicolaescu <address@hidden>
> branch nick: trunk
> timestamp: Fri 2010-03-19 02:42:13 -0700
> message:
>  * vc-hooks.el (vc-path): Remove variable and obsolete declaration.

Isn't something like the following patch also needed?

   Juanma



=== modified file 'lisp/vc-dispatcher.el'
--- lisp/vc-dispatcher.el       2010-03-19 09:37:41 +0000
+++ lisp/vc-dispatcher.el       2010-03-19 12:08:30 +0000
@@ -319,14 +319,7 @@
        (when files
          (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
+       (let (;; 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))
-                    (cons "LC_MESSAGES=C"
-                          process-environment)))
+             (process-environment (cons "LC_MESSAGES=C" process-environment))
              (w32-quote-process-args t))
          (if (eq okstatus 'async)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]