Function: embark-embark-collect-candidates
embark-embark-collect-candidates is a byte-compiled function defined
in embark.el.
Signature
(embark-embark-collect-candidates)
Documentation
Return candidates in Embark Collect buffer.
This makes embark-export work in Embark Collect buffers.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-embark-collect-candidates ()
"Return candidates in Embark Collect buffer.
This makes `embark-export' work in Embark Collect buffers."
(when (derived-mode-p 'embark-collect-mode)
(cons embark--type
(save-excursion
(goto-char (point-min))
(let (all)
(when-let* ((cand (embark-target-collect-candidate)))
(push (cdr cand) all))
(while (forward-button 1 nil nil t)
(when-let* ((cand (embark-target-collect-candidate)))
(push (cdr cand) all)))
(nreverse all))))))