From 46cd263f61b019c02411795eaff6dde79316aca1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 1 Mar 1995 08:30:54 +0000 Subject: [PATCH] (vc-do-command): Search vc-path first, not last. --- lisp/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc.el b/lisp/vc.el index 1950306e002..d659d19ccc4 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -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") -- 2.39.5