Closed seh closed 13 years ago
I'm not really sure but here are two things to consider:
If you're "start[ing] swank in Emacs", you should try running lein swank.
My Clojure 1.2.0 has clojure.core/print-doc, maybe you're running an old clojure?
opps, clicked "comment and close" and not sure how to reopen
I'm running with a freshly-built Clojure 1.3.0 snapshot, from the tip of the "master" branch. I don't use Leiningen, and it should not be necessary to start Swank. It never was before.
I scanned the Clojure source, and the definition of print-doc
is in src/clj/clojure/repl.clj, and that definition is private by virtue of defn-
.
I have pushed a fix that moves the print-doc lookup to runtime; should work in 1.3 now.
I verified that the fix works with Clojure 1.3. Thank you for following through so quickly.
When I try to start swank in Emacs, I see the following error printed to the
inferior-lisp
buffer:In file basic.clj, I see the following code:
The var
print-doc
is not available:I see this code changed recently in commit 2b348835d2a22d61de19cf3aa28c121ff23fc5a8, so someone must have found it to be working against a freshly-built Clojure library.
Do I have something configured incorrectly?