diff options
author | jao <jao@gnu.org> | 2022-02-25 14:08:16 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-25 14:08:16 +0000 |
commit | 39ea94404da8d4eef52511052755f32be813e9b1 (patch) | |
tree | ca3712fca90a3fa471d3ea06d26b53b5ae36c5d4 | |
parent | d15a7d470d58dabe5bfe629b559f7fc8f66c1d0f (diff) | |
download | elibs-39ea94404da8d4eef52511052755f32be813e9b1.tar.gz elibs-39ea94404da8d4eef52511052755f32be813e9b1.tar.bz2 |
consult gained a good default project root a while ago
-rw-r--r-- | completion.org | 6 |
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) |