Function: cider-send-to-comment

cider-send-to-comment is a function alias and interactive for cider-send-defun-to-comment, defined in cider-eval.el.

This command is obsolete since 2.1.0; use cider-send-defun-to-comment instead.

Signature

(cider-send-to-comment &optional EVAL)

Documentation

Copy the top-level form at point into the namespace's rich comment block.

The form is appended to the last top-level comment form in the buffer, creating one at the end of the buffer when none exists. Point stays where it is; use cider-jump-to-comment to visit the block.

With a prefix arg EVAL, also evaluate the form and insert its result beneath it, honoring cider-comment-style.

Key Bindings

Aliases

cider-send-to-comment (obsolete since 2.1.0)