Skip to content

Instantly share code, notes, and snippets.

@jonneale
Created May 29, 2013 10:17
Show Gist options
  • Save jonneale/5669318 to your computer and use it in GitHub Desktop.
Save jonneale/5669318 to your computer and use it in GitHub Desktop.
Emacs config to limit nrepl buffer print length
(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