We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e74f55 commit e930883Copy full SHA for e930883
src/clj/cljs/repl.clj
@@ -895,7 +895,7 @@ itself (not its value) is returned. The reader macro #'x expands to (var x)."}})
895
(defmacro doc
896
"Prints documentation for a var or special form given its name"
897
[name]
898
- `(println
+ `(print
899
(binding [cljs.core/*print-newline* true]
900
(with-out-str
901
~(if-let [special-name ('{& fn catch try finally try} name)]
src/cljs/cljs/repl.cljs
@@ -30,4 +30,4 @@
30
(do
31
(when (:macro m)
32
(println "Macro"))
33
- (print " " (:doc m)))))
+ (println " " (:doc m)))))
0 commit comments