Function: embark-completion-list-candidates

embark-completion-list-candidates is a byte-compiled function defined in embark.el.

Signature

(embark-completion-list-candidates)

Documentation

Return all candidates in a completions buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-completion-list-candidates ()
  "Return all candidates in a completions buffer."
  (embark--with-completion-list-buffer
   (lambda ()
     (cons
      embark--type
      (save-excursion
        (goto-char (point-min))
        (next-completion 1)
        (let (all)
          (while (not (eobp))
            (push (cdr (embark-target-completion-list-candidate)) all)
            (next-completion 1))
          (nreverse all)))))))