clojure-mode icon indicating copy to clipboard operation
clojure-mode copied to clipboard

`clojure-project-root-path` returns wrong value

Open bolivier opened this issue 5 months ago • 4 comments

Expected behavior

When I am in a file src/app/project.clj in a deps.edn project, clojure-project-root-path returns my root directory.

Actual behavior

clojure-project-root-path interprets this as a leiningen project and returns the current (nested) directory.

Steps to reproduce the problem

See the repo https://github.com/bolivier/clojure-mode-root-dir-bug

Environment & Version information

Linux

cider 1.18.0-snapshot

clojure-mode version

clojure-mode (5.20.0-snapshot)

Emacs version

30.1

Operating system

Arch Linux

bolivier avatar Jun 29 '25 02:06 bolivier