Function: embark-eldoc-target-types
embark-eldoc-target-types is a natively compiled function defined in
embark.el.
Signature
(embark-eldoc-target-types REPORT &rest _)
Documentation
Eldoc function reporting the types of all Embark targets at point.
This function uses the eldoc REPORT callback and is meant to be
added to eldoc-documentation-functions.
Source Code
;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
;;;###autoload
(defun embark-eldoc-target-types (report &rest _)
"Eldoc function reporting the types of all Embark targets at point.
This function uses the eldoc REPORT callback and is meant to be
added to `eldoc-documentation-functions'."
(when-let* ((_ (not (minibufferp)))
(targets (let (file-name-handler-alist) ;; Prevent Tramp slowdown.
(embark--targets))))
(funcall report
(format "Embark target types: %s"
(mapconcat
(lambda (target) (symbol-name (plist-get target :type)))
targets
", ")))))