Replace consult function with built-in ones
This commit is contained in:
parent
535fb5d69c
commit
fbec4d1af0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue