mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(vc-do-command): Search vc-path first, not last.
This commit is contained in:
parent
4c52b66830
commit
46cd263f61
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ the master name of FILE if LAST is 'MASTER, or the workfile of FILE if LAST is
|
|||
(if (string= (substring file 0 preflen) pwd)
|
||||
(setq file (substring file preflen))))
|
||||
(setq squeezed (append squeezed (list file)))))
|
||||
(let ((exec-path (if vc-path (append exec-path vc-path) exec-path))
|
||||
(let ((exec-path (append vc-path exec-path))
|
||||
;; Add vc-path to PATH for the execution of this command.
|
||||
(process-environment
|
||||
(cons (concat "PATH=" (getenv "PATH")
|
||||
|
|
|
|||
Loading…
Reference in a new issue