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

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

[elpa] master 96828c2 100/272: ivy.el (ivy-read): Identify extra-actions


From: Oleh Krehel
Subject: [elpa] master 96828c2 100/272: ivy.el (ivy-read): Identify extra-actions by caller as well
Date: Mon, 25 Apr 2016 10:13:19 +0000

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

    ivy.el (ivy-read): Identify extra-actions by caller as well
---
 ivy.el |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 4ebb883..e216554 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1188,8 +1188,10 @@ candidates is updated after each input by calling 
COLLECTION.
 CALLER is a symbol to uniquely identify the caller to `ivy-read'.
 It is used, along with COLLECTION, to determine which
 customizations apply to the current completion session."
-  (let ((extra-actions (append (plist-get ivy--actions-list t)
-                               (plist-get ivy--actions-list this-command))))
+  (let ((extra-actions (delete-dups
+                        (append (plist-get ivy--actions-list t)
+                                (plist-get ivy--actions-list this-command)
+                                (plist-get ivy--actions-list caller)))))
     (when extra-actions
       (setq action
             (cond ((functionp action)



reply via email to

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