summaryrefslogtreecommitdiffhomepage
path: root/completion.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-25 14:08:16 +0000
committerjao <jao@gnu.org>2022-02-25 14:08:16 +0000
commit39ea94404da8d4eef52511052755f32be813e9b1 (patch)
treeca3712fca90a3fa471d3ea06d26b53b5ae36c5d4 /completion.org
parentd15a7d470d58dabe5bfe629b559f7fc8f66c1d0f (diff)
downloadelibs-39ea94404da8d4eef52511052755f32be813e9b1.tar.gz
elibs-39ea94404da8d4eef52511052755f32be813e9b1.tar.bz2
consult gained a good default project root a while ago
Diffstat (limited to 'completion.org')
-rw-r--r--completion.org6
1 files changed, 0 insertions, 6 deletions
diff --git a/completion.org b/completion.org
index 87dfd86..38b1eab 100644
--- a/completion.org
+++ b/completion.org
@@ -236,12 +236,6 @@
(interactive "P")
(call-interactively (if arg 'consult-file-externally 'find-file)))
- (require 'jao-compilation)
- (defun jao-consult-project-root ()
- (expand-file-name (or (vc-root-dir) (jao-compilation-root) "")))
-
- (setq consult-project-root-function #'jao-consult-project-root)
-
(define-key consult-narrow-map (vconcat consult-narrow-key "?")
#'consult-narrow-help)