Function: embark-consult-imenu-candidates

embark-consult-imenu-candidates is a natively compiled function defined in embark-consult.el.

Signature

(embark-consult-imenu-candidates)

Documentation

Collect all imenu items in the current buffer.

Source Code

;; Defined in /nix/store/9j1lpwknj0cd46jf87pww3rp6rcmnk70-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-consult-20260503.118/embark-consult.el
(defun embark-consult-imenu-candidates ()
  "Collect all imenu items in the current buffer."
  (cons 'imenu (mapcar #'car (consult-imenu--items))))