Function: embark--associated-file
embark--associated-file is a byte-compiled function defined in
embark.el.
Signature
(embark--associated-file TARGET TYPE)
Documentation
Return file associated to TARGET of given TYPE.
The supported values of TYPE are file, buffer, bookmark and library, which have an obvious notion of associated file.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--associated-file (target type)
"Return file associated to TARGET of given TYPE.
The supported values of TYPE are file, buffer, bookmark and
library, which have an obvious notion of associated file."
(when-let* ((fn (alist-get type embark--associated-file-fn-alist)))
(funcall fn target)))