branch: externals/marginalia
commit 548bf39c9cf857ce608aa1a555fd01e49728f4bf
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
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)