Function: consult--state-with-return
consult--state-with-return is a byte-compiled function defined in
consult.el.
Signature
(consult--state-with-return STATE RETURN)
Documentation
Compose STATE function with RETURN function.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--state-with-return (state return)
"Compose STATE function with RETURN function."
(lambda (action cand)
(funcall state action cand)
(when (and cand (eq action 'return))
(funcall return cand))))