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

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

[elpa] externals/embark eaa5f5defe 2/8: Use vertico--update


From: ELPA Syncer
Subject: [elpa] externals/embark eaa5f5defe 2/8: Use vertico--update
Date: Sun, 23 Oct 2022 12:57:39 -0400 (EDT)

branch: externals/embark
commit eaa5f5defea422ab156d9aec78680cd7712152d8
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use vertico--update
---
 embark.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/embark.el b/embark.el
index db7019f654..25f5f54337 100644
--- a/embark.el
+++ b/embark.el
@@ -3267,7 +3267,7 @@ PRED is a predicate function used to filter the items."
 ;; vertico
 
 (declare-function vertico--candidate "ext:vertico")
-(declare-function vertico--exhibit "ext:vertico")
+(declare-function vertico--update "ext:vertico")
 (defvar vertico--input)
 (defvar vertico--candidates)
 
@@ -3276,8 +3276,7 @@ PRED is a predicate function used to filter the items."
 Return the category metadatum as the type of the target."
   (when vertico--input
     ;; Force candidate computation, if candidates are not yet available.
-    (when (eq vertico--input t)
-      (vertico--exhibit))
+    (vertico--update)
     (cons (completion-metadata-get (embark--metadata) 'category)
           (vertico--candidate))))
 
@@ -3286,8 +3285,7 @@ Return the category metadatum as the type of the target."
 Return the category metadatum as the type of the candidates."
   (when vertico--input
     ;; Force candidate computation, if candidates are not yet available.
-    (when (eq vertico--input t)
-      (vertico--exhibit))
+    (vertico--update)
     (cons (completion-metadata-get (embark--metadata) 'category)
           vertico--candidates)))
 



reply via email to

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