branch: externals/vertico
commit acb95de629464cc0ce58f2b213c64a58a82f1b4f
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Use assq
---
 extensions/vertico-repeat.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/extensions/vertico-repeat.el b/extensions/vertico-repeat.el
index 6dff3dffa5..f342ea467a 100644
--- a/extensions/vertico-repeat.el
+++ b/extensions/vertico-repeat.el
@@ -117,8 +117,7 @@ If called interactively from an existing Vertico session,
 last selected candidate for the current command."
   (interactive
    (list (or (if vertico-repeat--command
-                 (seq-find (lambda (x) (eq (car x) vertico-repeat--command))
-                           vertico-repeat-history)
+                 (assq vertico-repeat--command vertico-repeat-history)
                (car vertico-repeat-history))
              (user-error "No repeatable Vertico session"))))
   (if (and vertico-repeat--command (eq vertico-repeat--command (car session)))

Reply via email to