mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix "No such file or directory" "vc-nil" in project-files
* lisp/progmodes/project.el (project-files): Fix vc-nil backend error (bug#80013).
This commit is contained in:
parent
22719d64e9
commit
75a1403ff3
1 changed files with 2 additions and 1 deletions
|
|
@ -685,7 +685,8 @@ See `project-vc-extra-root-markers' for the marker value format.")
|
|||
(backend (cadr project)))
|
||||
(when backend
|
||||
(require (intern (concat "vc-" (downcase (symbol-name backend))))))
|
||||
(if (file-in-directory-p dir (nth 2 project))
|
||||
(if (and backend
|
||||
(file-in-directory-p dir (nth 2 project)))
|
||||
(condition-case nil
|
||||
(project--vc-list-files dir backend ignores)
|
||||
(vc-not-supported
|
||||
|
|
|
|||
Loading…
Reference in a new issue