From c70a3a41630a39283f10f183cefb4643a6d424cc Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 2 Jul 2020 01:08:18 +0300 Subject: Revert feature added in bfd96e995d using project directories in vc (bug#41821) --- lisp/vc/vc-hooks.el | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lisp/vc/vc-hooks.el') diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 46f55358de8..ce72a49b955 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -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. -- cgit v1.2.3