Relevant bit of code here: https://github.com/trptcolin/reply/blob/69c4c6ffe0c8903a193c1e127337832e225335b0/src/clj/reply/initialization.clj#L179
Jony On Sunday, 5 April 2015 09:47:04 UTC+1, Bozhidar Batsov wrote: > > Maybe reply interns `clojure.repl/doc` in every namespace. I can tell you > for a fact that in CIDER the `clojure.repl` functions are interned only in > the "user" namespace. We can always change this, but it doesn't make a lot > of sense. CIDER users normally never use functions like "doc" as they have > much more powerful options at their disposal (e.g. `C-c C-d d` (cider-doc) > or the `C-c C-d g`). > > On 5 April 2015 at 11:41, andrea crotti <andrea....@gmail.com > <javascript:>> wrote: > >> Hi guys, one question about the Repl and Cider. >> >> When I start the Repl with "lein repl", I am in the namespace "x.y", >> and if I do "(doc swap!)" I see the documentation showing up. >> >> If instead I start the repl with Cider, it looks like I'm in the same >> namespace, however "(doc swap!)" doesn't work, but if I do >> "(clojure.repl/doc swap!)" actually works. >> >> So I wonder what's the difference, how does running "lein repl" differ >> from using the cider repl? >> >> Is it possible to have the same behaviour in both? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.