mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-09 08:21:30 -07:00
project-files<vc>: Fix 'void-function vc-git--program-version'
* lisp/progmodes/project.el (project-try-vc--search): Re-add the loading of vc-<backend> feature just removed from `project-files'.
This commit is contained in:
parent
17ddfd66e6
commit
c678963fb1
1 changed files with 2 additions and 0 deletions
|
|
@ -638,6 +638,8 @@ See `project-vc-extra-root-markers' for the marker value format.")
|
|||
(let* ((parent (file-name-directory (directory-file-name root))))
|
||||
(setq root (vc-call-backend 'Git 'root parent))))
|
||||
(when root
|
||||
(when backend
|
||||
(require (intern (concat "vc-" (downcase (symbol-name backend))))))
|
||||
(when (not backend)
|
||||
(let* ((project-vc-extra-root-markers nil)
|
||||
;; Avoid submodules scan.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue