Function: cider-pprint-eval-form-to-comment
cider-pprint-eval-form-to-comment is an interactive and byte-compiled
function defined in cider-eval.el.
Signature
(cider-pprint-eval-form-to-comment &optional INSERT-BEFORE)
Documentation
Evaluate the form and insert result as comment.
The comment style is controlled by cider-comment-style.
If INSERT-BEFORE is non-nil, insert before the form, otherwise afterwards.
Key Bindings
Aliases
cider-pprint-eval-last-sexp-to-comment (obsolete since 2.1.0)
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-pprint-eval-form-to-comment (&optional insert-before)
"Evaluate the form and insert result as comment.
The comment style is controlled by `cider-comment-style'.
If INSERT-BEFORE is non-nil, insert before the form, otherwise afterwards."
(interactive "P")
(cider-pprint-form-to-comment 'cider-last-sexp insert-before))