Revert feature added in bfd96e995d
using project directories in vc (bug#41821)
This commit is contained in:
parent
aa6c35e95f
commit
c70a3a4163
4 changed files with 3 additions and 14 deletions
|
@ -299,11 +299,6 @@ non-nil if FILE exists and its contents were successfully inserted."
|
|||
(set-buffer-modified-p nil)
|
||||
t))
|
||||
|
||||
(declare-function project-try-vc "project")
|
||||
(defun vc-known-roots ()
|
||||
"Return a list of known vc roots."
|
||||
(seq-filter #'project-try-vc (project-known-project-roots)))
|
||||
|
||||
(defun vc-find-root (file witness)
|
||||
"Find the root of a checked out project.
|
||||
The function walks up the directory tree from FILE looking for WITNESS.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue