branch: master commit 96828c2bcd63858046d2c615017f41ea5682f237 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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)