branch: externals/marginalia commit 7644e76191c58177d040a0af58ef949ad39e6467 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
marginalia-annotate-theme: Let-bind theme load-path --- marginalia.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/marginalia.el b/marginalia.el index f6abf71513..fb0edf3d69 100644 --- a/marginalia.el +++ b/marginalia.el @@ -1089,7 +1089,8 @@ These annotations are skipped for remote paths." (defun marginalia-annotate-theme (cand) "Annotate theme CAND with documentation and path." - (marginalia-annotate-library (concat cand "-theme"))) + (let ((load-path (custom-theme--load-path))) ;; Themes use their own path. + (marginalia-annotate-library (concat cand "-theme")))) (defun marginalia-annotate-library (cand) "Annotate library CAND with documentation and path."