aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc-hooks.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el
index 8b4d8ab748e..4b41ef1ca40 100644
--- a/lisp/vc-hooks.el
+++ b/lisp/vc-hooks.el
@@ -237,7 +237,8 @@ value of this flag.")
237 ;; Add vc-path to PATH for the execution of this command. 237 ;; Add vc-path to PATH for the execution of this command.
238 (process-environment 238 (process-environment
239 (cons (concat "PATH=" (getenv "PATH") 239 (cons (concat "PATH=" (getenv "PATH")
240 ":" (mapconcat 'identity vc-path ":")) 240 path-separator
241 (mapconcat 'identity vc-path path-separator))
241 process-environment))) 242 process-environment)))
242 (apply 'call-process command nil "*vc*" nil 243 (apply 'call-process command nil "*vc*" nil
243 (append flags (list (file-name-nondirectory file))))) 244 (append flags (list (file-name-nondirectory file)))))