branch: master
commit fe3295912bb2dc1fb629bdfa25bd44122f3296d1
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy--actionp): Fix lambda being considered a list of actions
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 4fcabbd..76d12fa 100644
--- a/ivy.el
+++ b/ivy.el
@@ -858,7 +858,7 @@ If the input is empty, select the previous history element 
instead."
 
 (defun ivy--actionp (x)
   "Return non-nil when X is a list of actions."
-  (and x (listp x) (not (eq (car x) 'closure))))
+  (and x (listp x) (not (memq (car x) '(closure lambda)))))
 
 (defcustom ivy-action-wrap nil
   "When non-nil, `ivy-next-action' and `ivy-prev-action' wrap."

Reply via email to