Function: cider-pprint-eval-defun-to-comment

cider-pprint-eval-defun-to-comment is an interactive and byte-compiled function defined in cider-eval.el.

Signature

(cider-pprint-eval-defun-to-comment &optional INSERT-BEFORE)

Documentation

Evaluate the "top-level" 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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-pprint-eval-defun-to-comment (&optional insert-before)
  "Evaluate the \"top-level\" 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-defun-at-point insert-before))