Function: marginalia-annotate-theme

marginalia-annotate-theme is a byte-compiled function defined in marginalia.el.

Signature

(marginalia-annotate-theme CAND)

Documentation

Annotate theme CAND with documentation and path.

Source Code

;; Defined in ~/.emacs.d/elpa/marginalia-20260724.810/marginalia.el
(defun marginalia-annotate-theme (cand)
  "Annotate theme CAND with documentation and path."
  (when-let* ((file (gethash (concat cand "-theme") (marginalia--library-cache))))
    (marginalia--fields
     ((marginalia--library-doc file)
      :truncate 1.0 :face 'marginalia-documentation)
     ((marginalia--abbreviate-file-name (file-name-directory file))
      :truncate -1.0 :face 'marginalia-file-name))))