Function: embark-collect-choose

embark-collect-choose is a byte-compiled function defined in embark.el.

Signature

(embark-collect-choose ENTRY)

Documentation

Run default action on Embark Collect ENTRY.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-collect-choose (entry)
  "Run default action on Embark Collect ENTRY."
  (pcase-let ((`(,type ,text ,start . ,end)
               (save-excursion
                 (goto-char entry)
                 (embark-target-collect-candidate))))
    (embark--act (embark--default-action type)
                 (list :target text
                       :type type
                       :bounds (cons start end)))))