emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/marginalia 69ec4d7 017/241: Remove unused function


From: Stefan Monnier
Subject: [elpa] externals/marginalia 69ec4d7 017/241: Remove unused function
Date: Fri, 28 May 2021 20:48:48 -0400 (EDT)

branch: externals/marginalia
commit 69ec4d7257cfae9f449ac58653e1884ffb09c46d
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]