Skip to content

Commit

Permalink
Wrapped the repl expr in prn-str before doing pretty print
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Oct 23, 2009
1 parent d8326ad commit da310a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/enclojure.plugin.netbeans/nbproject/project.xml
Expand Up @@ -507,12 +507,10 @@
<runtime-relative-path>ext/slf4j-jdk14-1.5.8.jar</runtime-relative-path>
<binary-origin>release/modules/ext/slf4j-jdk14-1.5.8.jar</binary-origin>
</class-path-extension>
<!--
<class-path-extension>
<runtime-relative-path>ext/tools.jar</runtime-relative-path>
<binary-origin>release/modules/ext/tools.jar</binary-origin>
</class-path-extension>
-->
</data>
</configuration>
</project>
Binary file not shown.
2 changes: 1 addition & 1 deletion src/repl-client/src/org/enclojure/ide/repl/repl_panel.clj
Expand Up @@ -167,7 +167,7 @@
"(eval (clojure.contrib.pprint/pprint (do " expr "\n))))")
(str "(binding [*ns* *ns*]" ns-node "(eval '(do " expr "\n)))"))
(if print-pretty
(str "(eval '(clojure.contrib.pprint/pprint (do " expr "\n)))")
(str "(eval '(clojure.contrib.pprint/pprint (do " (prn-str expr) "\n)))")
(str " " expr " \n")))
]
(logger/debug "\neval expr:\n" expr)
Expand Down

0 comments on commit da310a2

Please sign in to comment.