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

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

[elpa] externals/ivy 9d630d800e 1/2: ivy.el: Fix calling convention for


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy 9d630d800e 1/2: ivy.el: Fix calling convention for programmed completion functions
Date: Fri, 14 Jul 2023 03:58:38 -0400 (EDT)

branch: externals/ivy
commit 9d630d800e856a2c984c5a62a6f0ad313a9d2228
Author: Aaron L. Zeng <azeng@janestreet.com>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    ivy.el: Fix calling convention for programmed completion functions
    
    ivy--dynamic-collection-cands wants a list, not a single string.  The
    third argument to the collection should be t in that case.
    
    Copyright-paperwork-exempt: yes
    
    Closes #3020.
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index cacb67f56b..78ca834600 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3386,7 +3386,7 @@ Should be run via minibuffer `post-command-hook'."
   (let ((coll (condition-case nil
                   (funcall (ivy-state-collection ivy-last) input)
                 (error
-                 (funcall (ivy-state-collection ivy-last) input nil nil)))))
+                 (funcall (ivy-state-collection ivy-last) input nil t)))))
     (if (listp coll)
         (mapcar (lambda (x) (if (consp x) (car x) x)) coll)
       coll)))



reply via email to

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