Problem Statement:
I am writing Clojure (and some ClojureScript) code with Lein + Emacs.
I want to be able to jump to the definition of an arbitrary function.
For example, suppose I do "C-x magic-key-stroke rect->area", then I want it to jump me to:
src/rect.clj, line 20, which has the content:
(defn rect->area [] ... )
Question:
How do I achieve the above in Emacs / Clojure?
Edit:
I sorta lied in my original question. I'm not using clj + cljs.
I'm using cljx (https://github.com/lynaghk/cljx) , which does cljx -> clj/cljs.
As a result, a "nrepl" solution does not work as well as something that reads the source code. (I.e. I want it to jump me to the *.cljx file, not the *.clj file).