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

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

[elpa] externals/embark e2166946d1 7/8: Merge pull request #548 from min


From: ELPA Syncer
Subject: [elpa] externals/embark e2166946d1 7/8: Merge pull request #548 from minad/fix-init
Date: Sun, 23 Oct 2022 12:57:40 -0400 (EDT)

branch: externals/embark
commit e2166946d1200b52723481887861982b6b2f8349
Merge: f2a83a6db4 eaa5f5defe
Author: Omar AntolĂ­n Camarena <omar.antolin@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #548 from minad/fix-init
    
    Use vertico--update to ensure initialization
---
 embark.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/embark.el b/embark.el
index 4f157bf8be..568ebe7dff 100644
--- a/embark.el
+++ b/embark.el
@@ -3258,7 +3258,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)
 
@@ -3267,8 +3267,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))))
 
@@ -3277,8 +3276,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]