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

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

[elpa] master fe32959 066/348: ivy.el (ivy--actionp): Fix lambda being c


From: Oleh Krehel
Subject: [elpa] master fe32959 066/348: ivy.el (ivy--actionp): Fix lambda being considered a list of actions
Date: Sat, 8 Apr 2017 11:03:26 -0400 (EDT)

branch: master
commit fe3295912bb2dc1fb629bdfa25bd44122f3296d1
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

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