Function: cider-eval-pprint-menu--apply-args

cider-eval-pprint-menu--apply-args is a byte-compiled function defined in cider-eval.el.

Signature

(cider-eval-pprint-menu--apply-args ARGS COMMAND)

Documentation

Call pretty-print COMMAND with the cider-eval-pprint-menu ARGS applied.

The chosen printer is let-bound around the call, for this invocation only.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-eval-pprint-menu--apply-args (args command)
  "Call pretty-print COMMAND with the `cider-eval-pprint-menu' ARGS applied.
The chosen printer is `let'-bound around the call, for this invocation only."
  (let ((cider-print-fn
         (if-let* ((fn (transient-arg-value "--print-fn=" args)))
             (cider-eval-pprint-menu--print-fn fn)
           cider-print-fn)))
    (funcall command)))