Set the current directory in ‘vc-p4-dir-extra-headers’
It seems like it might be possible that this function gets called in the wrong directory, so just to be sure set the current directory to the one passed in. This _should_ make sure that ‘p4’ is called in the right directory.
This commit is contained in:
parent
2180dc8535
commit
bab0d7083d
1 changed files with 2 additions and 1 deletions
3
vc-p4.el
3
vc-p4.el
|
@ -1023,7 +1023,8 @@ documentation for that command for their meanings."
|
|||
|
||||
(defun vc-p4-dir-extra-headers (dir)
|
||||
"Get extra Perforce-specific vc-dir headers related to DIR."
|
||||
(let ((extra-info (p4-lowlevel-info)))
|
||||
(let* ((default-directory dir)
|
||||
(extra-info (p4-lowlevel-info)))
|
||||
(concat
|
||||
(propertize "Client :" 'face 'font-lock-type-face)
|
||||
" "
|
||||
|
|
Loading…
Reference in a new issue