Hot answers tagged

1

You can use with-out-str to capture the output into a string. user> (with-out-str (print "foo")) "foo" Knowing that you can take the cider-pprint-eval-last-sexp-to-comment function, copy/paste it and make a small change. (define-key cider-mode-map (kbd "C-c C-p") (lambda () (interactive) (let* ((insert-...


Only top voted, non community-wiki answers of a minimum length are eligible