From 39ea94404da8d4eef52511052755f32be813e9b1 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 25 Feb 2022 14:08:16 +0000 Subject: consult gained a good default project root a while ago --- completion.org | 6 ------ 1 file changed, 6 deletions(-) (limited to 'completion.org') 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) -- cgit v1.2.3