branch: externals/vertico
commit 7e048978e2307bd8c02202e196e0c0db66b443bf
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Rename function
---
extensions/vertico-flat.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extensions/vertico-flat.el b/extensions/vertico-flat.el
index cba6ee5..e73d8c0 100644
--- a/extensions/vertico-flat.el
+++ b/extensions/vertico-flat.el
@@ -55,7 +55,7 @@
(concat "{" (string-join candidates " | ") "}")
"[No match]"))))
-(defun vertico-flat--disable-annotations (_ candidates)
+(defun vertico-flat--affixate (_ candidates)
"Return CANDIDATES without adding annotations."
candidates)
@@ -67,11 +67,11 @@
(vertico-flat-mode
(setq vertico-flat--group-format vertico-group-format
vertico-group-format nil)
- (advice-add #'vertico--affixate :override
#'vertico-flat--disable-annotations)
+ (advice-add #'vertico--affixate :override #'vertico-flat--affixate)
(advice-add #'vertico--display-candidates :override
#'vertico-flat--display))
(t
(setq vertico-group-format vertico-flat--group-format)
- (advice-remove #'vertico--affixate #'vertico-flat--disable-annotations)
+ (advice-remove #'vertico--affixate #'vertico-flat--affixate)
(advice-remove #'vertico--display-candidates #'vertico-flat--display))))
(provide 'vertico-flat)