Function: cider-test-menu--apply-args

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

Signature

(cider-test-menu--apply-args ARGS THUNK)

Documentation

Call THUNK with the cider-test-menu selector ARGS applied.

The include/exclude selectors are let-bound around the call, so the run commands filter by them for this invocation only.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-test.el
(defun cider-test-menu--apply-args (args thunk)
  "Call THUNK with the `cider-test-menu' selector ARGS applied.
The include/exclude selectors are `let'-bound around the call, so the run
commands filter by them for this invocation only."
  (let ((cider-test-default-include-selectors
         (or (cider-test-menu--selectors (transient-arg-value "--include=" args))
             cider-test-default-include-selectors))
        (cider-test-default-exclude-selectors
         (or (cider-test-menu--selectors (transient-arg-value "--exclude=" args))
             cider-test-default-exclude-selectors)))
    (funcall thunk)))