Function: embark-eldoc-first-target
embark-eldoc-first-target is an autoloaded and byte-compiled function
defined in embark.el.
Signature
(embark-eldoc-first-target REPORT &rest _)
Documentation
Eldoc function reporting the first Embark target at point.
This function uses the eldoc REPORT callback and is meant to be
added to eldoc-documentation-functions.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
;;;###autoload
(defun embark-eldoc-first-target (report &rest _)
"Eldoc function reporting the first Embark target at point.
This function uses the eldoc REPORT callback and is meant to be
added to `eldoc-documentation-functions'."
(when-let* ((_ (not (minibufferp)))
(target (let (file-name-handler-alist) ;; Prevent Tramp slowdown.
(car (embark--targets)))))
(funcall report
(format "Embark on %s ‘%s’"
(plist-get target :type)
(embark--truncate-target (plist-get target :target))))))