Created
March 19, 2013 16:50
-
-
Save ragnard/5197825 to your computer and use it in GitHub Desktop.
limit print length
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; specify the print length to be 100 to stop infinite sequences | |
;; killing things. | |
(defun nrepl-limit-print-length () | |
(interactive) | |
(nrepl-send-string-sync "(set! *print-length* 100)" "clojure.core")) | |
(defun nrepl-unlimit-print-length () | |
(interactive) | |
(nrepl-send-string-sync "(set! *print-length* nil)" "clojure.core")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment