Permalink
Browse files

Don't set *print-level* or *print-length*, because the effects can be…

… catastrophic for applications that expect pr to print all of the data.
  • Loading branch information...
ivan committed May 18, 2012
1 parent bd3d1d7 commit 7710eb019095507043e7356a40a3b12e35699ec5
Showing with 2 additions and 6 deletions.
  1. +1 −1 project.clj
  2. +1 −5 src/clj/org/dipert/swingrepl/main.clj
View
@@ -1,4 +1,4 @@
-(defproject swingrepl "1.4.0-SNAPSHOT"
+(defproject swingrepl "1.4.1-SNAPSHOT"
:source-path "src/clj"
:java-source-path "src/jvm"
:java-fork "true"
@@ -12,10 +12,6 @@
clj-version
(apply str (interpose \. (map *clojure-version* [:major :minor :incremental]))))
-(defn- set-safe-printing! []
- (set! *print-level* 15)
- (set! *print-length* 103))
-
(def ^{:doc "Default REPL options"
:private false}
default-opts
@@ -24,7 +20,7 @@
:font (Font. "Monospaced" Font/PLAIN 14)
:title (str "Clojure " clj-version " REPL")
:prompt #(print "user=> ")
- :init set-safe-printing!
+ :init #()
:eval eval
:on-close JFrame/DISPOSE_ON_CLOSE})

0 comments on commit 7710eb0

Please sign in to comment.