Created
May 29, 2013 10:17
-
-
Save jonneale/5669318 to your computer and use it in GitHub Desktop.
Emacs config to limit nrepl buffer print length
This file contains hidden or 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
(require 'nrepl) | |
(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