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

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

[elpa] externals/marginalia 548bf39 012/241: more explicit name for marg


From: Stefan Monnier
Subject: [elpa] externals/marginalia 548bf39 012/241: more explicit name for marginalia-command-annotate
Date: Fri, 28 May 2021 20:48:47 -0400 (EDT)

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

    more explicit name for marginalia-command-annotate
---
 marginalia.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/marginalia.el b/marginalia.el
index 77cfc2a..8cea9cf 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -258,9 +258,8 @@ Remember `this-command' for annotation."
     ;; Replace the metadata function.
     (advice-add #'completion-metadata-get :around 
#'marginalia--completion-metadata-get)))
 
-;; TODO better name? there is also the name clash problem with 
marginalia-annotate-command
 ;;;###autoload
-(defun marginalia-command-annotate (cmd ann)
+(defun marginalia-set-command-annotation (cmd ann)
   "Modify marginalia configuration such that annotation function ANN is used 
for command CMD."
   (setq marginalia-command-category-alist
         (cons (cons cmd cmd)



reply via email to

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