I'm not sure whether this counts as an answer. I put this definition in a
file that my leiningen project loads by default:
(defn set-pprint-width
"Sets width for pretty-printing with pprint and pp."
[cols]
(alter-var-root
#'clojure.pprint/*print-right-margin*
(constantly cols)))
Then I can use the function to set *print-right-margin* to whatever default
I want in some file that's loaded by default.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.