branch: externals/marginalia
commit 69ec4d7257cfae9f449ac58653e1884ffb09c46d
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Remove unused function
This is probably a (renamed) remnant from consult
---
marginalia.el | 7 -------
1 file changed, 7 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 0b6dd71..f7695a1 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -209,13 +209,6 @@ determine it."
(when-let (doc (documentation-property (intern cand) 'group-documentation))
(marginalia--annotation doc)))
-(defun marginalia--annotate-candidates (candidates)
- "Annotate CANDIDATES with richer information."
- (if-let* ((cat (marginalia--category-type))
- (annotate (alist-get cat marginalia-annotator-alist)))
- (mapcar (lambda (cand) (concat cand (funcall annotate cand))) candidates)
- candidates))
-
(defun marginalia-classify-by-command-name ()
"Lookup category for current command."
(and marginalia--this-command