about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-project.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-project.el b/.emacs.d/lisp/init-project.el
index 62065f0..79d291d 100644
--- a/.emacs.d/lisp/init-project.el
+++ b/.emacs.d/lisp/init-project.el
@@ -20,7 +20,7 @@
   (defun project-clojure-test-switch ()
     (interactive)
     (let ((filename (buffer-file-name))
-          (project-root (consult--project-root))) ;; TODO don't depend on consult
+          (project-root (expand-file-name (project-root (project-current)))))
       (cond ((string-match (concat "^" project-root "test/.*_test\.clj") filename)
              (project--clojure-switch-to-src filename project-root))
             ((string-match (concat "^" project-root "src/.*\.clj") filename)