branch: externals/marginalia
commit 287a369b51c357e3780d1d76b18d65da2503b9f6
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Use more strict definition of the affixation function.
See
https://github.com/emacs-mirror/emacs/commit/d8e037eeaa7eef26349bc0fb3fa00e10a5c4b894
---
marginalia.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/marginalia.el b/marginalia.el
index 9019b2c..5f1f44e 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -765,7 +765,7 @@ PROP is the property which is looked up."
(annotate (alist-get cat (symbol-value (car
marginalia-annotators)))))
(lambda (cands)
(marginalia--context metadata
- (mapcar (lambda (x) (list x (or (funcall annotate x) "")))
cands)))))
+ (mapcar (lambda (x) (list x "" (or (funcall annotate x) "")))
cands)))))
('category
;; Find the completion category by trying each of our classifiers.
;; Store the metadata for `marginalia-classify-original-category'.